When ERT is configured to be not installed, do static linking of the Ert modules

p4#: 21135
This commit is contained in:
CeetronResInsight 2013-04-05 08:15:03 +02:00
parent 75f089d0d4
commit 2d5ed03b9b

View File

@ -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)