diff --git a/cmakemodules/FindGSL.cmake b/cmakemodules/FindGSL.cmake index 218a5dd..1772880 100644 --- a/cmakemodules/FindGSL.cmake +++ b/cmakemodules/FindGSL.cmake @@ -16,7 +16,7 @@ # find gsl-config SET( GSL_CONFIG_EXECUTABLE GSL_CONFIG_EXECUTABLE-NOTFOUND ) MARK_AS_ADVANCED( GSL_CONFIG_EXECUTABLE ) -FIND_PROGRAM( GSL_CONFIG_EXECUTABLE gsl-config PATHS ${GSL_DIR}/bin NO_DEFAULT_PATH ) +FIND_PROGRAM( GSL_CONFIG_EXECUTABLE gsl-config PATHS ${GSL_DIR}/bin ) IF( NOT GSL_DIR ) FIND_PROGRAM( GSL_CONFIG_EXECUTABLE gsl-config ) ENDIF()