diff --git a/Applications/DataExplorer/DataView/CMakeLists.txt b/Applications/DataExplorer/DataView/CMakeLists.txt index 11b6e866ad8b74c3584f28a537b9aef3c8ee0eab..8b65bdcea6c985712abdb95146aeb2e721f0f9d7 100644 --- a/Applications/DataExplorer/DataView/CMakeLists.txt +++ b/Applications/DataExplorer/DataView/CMakeLists.txt @@ -121,7 +121,7 @@ if(GEOTIFF_FOUND) include_directories(${GEOTIFF_INCLUDE_DIRS}) endif() # GEOTIFF_FOUND -ogs_add_library(QtDataView ${SOURCES} ${HEADERS} ${UIS}) +ogs_add_library(QtDataView STATIC ${SOURCES} ${HEADERS} ${UIS}) target_link_libraries(QtDataView PUBLIC GeoLib diff --git a/Applications/DataExplorer/VtkVis/CMakeLists.txt b/Applications/DataExplorer/VtkVis/CMakeLists.txt index 2f11fdbc06032e4d120420f0a80329eeddd899df..57815c579026788f6c8b77726da7ac8058dc5ca3 100644 --- a/Applications/DataExplorer/VtkVis/CMakeLists.txt +++ b/Applications/DataExplorer/VtkVis/CMakeLists.txt @@ -128,7 +128,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${GUI_SOURCE_DIR_REL}/DataView ${GUI_SOURCE_DIR_REL}/VtkModules/Qt) -ogs_add_library(VtkVis ${SOURCES} ${HEADERS} ${UIS}) +ogs_add_library(VtkVis STATIC ${SOURCES} ${HEADERS} ${UIS}) if(GEOTIFF_FOUND) include_directories(${GEOTIFF_INCLUDE_DIRS})