diff --git a/ApplicationCode/CMakeLists.txt b/ApplicationCode/CMakeLists.txt index 7efd69c90a..b153477085 100644 --- a/ApplicationCode/CMakeLists.txt +++ b/ApplicationCode/CMakeLists.txt @@ -316,8 +316,6 @@ set( LINK_LIBRARIES ${APP_FWK_LIBRARIES} ${VIZ_FWK_LIBRARIES} - ${ERT_LIBRARIES} - ${THIRD_PARTY_LIBRARIES} ${OPENGL_LIBRARIES} diff --git a/CMakeLists.txt b/CMakeLists.txt index dd44391693..94c5d9e7fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,6 +139,10 @@ else() endif(RESINSIGHT_ERT_EXTERNAL_LIB_ROOT OR RESINSIGHT_ERT_EXTERNAL_INCLUDE_ROOT) +list(APPEND THIRD_PARTY_LIBRARIES + ${ERT_LIBRARIES} +) + ################################################################################ # Subset of Boost, used by NRLib and flow diagnostics application