mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Disable install of GSL
This commit is contained in:
parent
35c6e8b109
commit
d2ccc684a5
@ -368,12 +368,12 @@ set_property(TARGET
|
|||||||
################################################################################
|
################################################################################
|
||||||
# GNU GSL
|
# GNU GSL
|
||||||
################################################################################
|
################################################################################
|
||||||
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.")
|
||||||
endif()
|
endif()
|
||||||
option(GSL_DISABLE_TESTS "Disable the GSL tests" ON)
|
option(GSL_DISABLE_TESTS "Disable the GSL tests" ON)
|
||||||
|
set(GSL_INSTALL OFF)
|
||||||
add_subdirectory(ThirdParty/gsl)
|
add_subdirectory(ThirdParty/gsl)
|
||||||
add_definitions(-DUSE_GSL)
|
add_definitions(-DUSE_GSL)
|
||||||
list(APPEND THIRD_PARTY_LIBRARIES gsl)
|
list(APPEND THIRD_PARTY_LIBRARIES gsl)
|
||||||
|
Loading…
Reference in New Issue
Block a user