mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set GSL to OFF by default
Build server in Equinor is not updated with required minimum version for CMake, set GSL off by default
This commit is contained in:
@@ -327,7 +327,7 @@ list(APPEND THIRD_PARTY_LIBRARIES
|
|||||||
# GNU GSL
|
# GNU GSL
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
option(GSL_ENABLE "Enable the GNU Scientific Library for Statistics" ON)
|
option(GSL_ENABLE "Enable the GNU Scientific Library for Statistics" OFF)
|
||||||
if(GSL_ENABLE)
|
if(GSL_ENABLE)
|
||||||
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/ThirdParty/gsl/CMakeLists.txt")
|
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/ThirdParty/gsl/CMakeLists.txt")
|
||||||
message(FATAL_ERROR "The GSL submodule was not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again.")
|
message(FATAL_ERROR "The GSL submodule was not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again.")
|
||||||
|
|||||||
Reference in New Issue
Block a user