summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorgnieboer <gnieboer@corpcomm.net>2019-06-02 12:21:46 -0400
committerAndrej Rode <mail@andrejro.de>2019-06-06 22:12:50 +0200
commitb6f15c59e96aa83142c47aeacd64da793dd8ba31 (patch)
treed991598c2abf8a0a14190d9008eb91113465770a /cmake/Modules
parent1105b999237dfd54998700545f19a04262dee93c (diff)
cmake: fixed gsl definition add for windows
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindGSL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindGSL.cmake b/cmake/Modules/FindGSL.cmake
index 116ea9f9e6..60b0d83045 100644
--- a/cmake/Modules/FindGSL.cmake
+++ b/cmake/Modules/FindGSL.cmake
@@ -139,7 +139,7 @@ else( WIN32 AND NOT CYGWIN AND NOT MSYS )
endif( UNIX OR MSYS )
endif( WIN32 AND NOT CYGWIN AND NOT MSYS )
#needed for gsl windows port but safe to always define
-LIST(APPEND GSL_DEFINITIONS "-DGSL_DLL")
+LIST(APPEND GSL_DEFINITIONS "GSL_DLL")
if( GSL_FOUND )
if( NOT GSL_FIND_QUIETLY )