mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
When ERT is configured to be not installed, do static linking of the Ert modules
p4#: 21135
This commit is contained in:
parent
75f089d0d4
commit
2d5ed03b9b
11
ThirdParty/Ert/devel/CMakeLists.txt
vendored
11
ThirdParty/Ert/devel/CMakeLists.txt
vendored
@ -40,9 +40,14 @@ if (MSVC)
|
||||
set( LIBRARY_TYPE STATIC )
|
||||
set( SHARED_LIB OFF )
|
||||
else()
|
||||
set( LIBRARY_TYPE SHARED )
|
||||
set( SHARED_LIB ON )
|
||||
endif()
|
||||
if (INSTALL_ERT)
|
||||
set( LIBRARY_TYPE SHARED )
|
||||
set( SHARED_LIB ON )
|
||||
else()
|
||||
set( LIBRARY_TYPE STATIC )
|
||||
set( SHARED_LIB OFF )
|
||||
endif(INSTALL_ERT)
|
||||
endif(MSVC)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user