File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 22
22
## --------------------------------
23
23
##
24
24
25
-
26
25
IF (WIN32 )
27
26
28
27
SET (GSL_MINGW_PREFIX "c:/msys/local" )
@@ -62,14 +61,14 @@ ELSE(WIN32)
62
61
IF (GSL_LIBRARIES)
63
62
# they're all the same in a framework
64
63
SET (GSL_PREFIX ${GSL_LIBRARIES} )
65
- SET (GSL_INCLUDE_DIR ${GSL_LIBRARIES} /Headers CACHE PATH "Path to a file ." )
66
- SET (GSL_CONFIG ${GSL_LIBRARIES} /Programs/gsl-config CACHE FILEPATH "Path to a program ." )
64
+ SET (GSL_INCLUDE_DIR ${GSL_LIBRARIES} /Headers CACHE PATH "Path to GSL header files ." )
65
+ SET (GSL_CONFIG ${GSL_LIBRARIES} /Programs/gsl-config CACHE FILEPATH "Path to gsl-config ." )
67
66
ENDIF (GSL_LIBRARIES)
68
67
SET (CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK_save} CACHE STRING "" FORCE)
69
68
ENDIF ()
70
69
ENDIF (APPLE )
71
70
72
- IF (NOT GSL_INCLUDE_DIR AND NOT GSL_LIBRARIES AND NOT GSL_CONFIG)
71
+ IF (NOT GSL_INCLUDE_DIR OR NOT GSL_LIBRARIES OR NOT GSL_CONFIG)
73
72
# didn't find OS X framework, or was set by user
74
73
SET (GSL_CONFIG_PREFER_PATH "$ENV{GSL_HOME} /bin" CACHE STRING "preferred path to GSL (gsl-config)" )
75
74
FIND_PROGRAM (GSL_CONFIG gsl-config
@@ -129,7 +128,7 @@ ELSE(WIN32)
129
128
ELSE (GSL_CONFIG)
130
129
MESSAGE ("FindGSL.cmake: gsl-config not found. Please set it manually. GSL_CONFIG=${GSL_CONFIG} " )
131
130
ENDIF (GSL_CONFIG)
132
- ENDIF (NOT GSL_INCLUDE_DIR AND NOT GSL_LIBRARIES AND NOT GSL_CONFIG)
131
+ ENDIF (NOT GSL_INCLUDE_DIR OR NOT GSL_LIBRARIES OR NOT GSL_CONFIG)
133
132
ENDIF (UNIX )
134
133
ENDIF (WIN32 )
135
134
You can’t perform that action at this time.
0 commit comments