diff --git a/libsrc/interface/CMakeLists.txt b/libsrc/interface/CMakeLists.txt index d8d935a1..bc1bc2f3 100644 --- a/libsrc/interface/CMakeLists.txt +++ b/libsrc/interface/CMakeLists.txt @@ -7,7 +7,7 @@ add_library(interface ${NG_LIB_TYPE} wuchemnitz.cpp writegmsh2.cpp writeOpenFOAM15x.cpp ) -target_link_libraries(interface mesh csg geom2d visual) +target_link_libraries(interface mesh csg geom2d stl visual) if(NOT WIN32) install( TARGETS interface ${NG_INSTALL_DIR}) diff --git a/nglib/CMakeLists.txt b/nglib/CMakeLists.txt index 3dcbe693..8fa7444b 100644 --- a/nglib/CMakeLists.txt +++ b/nglib/CMakeLists.txt @@ -13,6 +13,7 @@ if(WIN32) ) if(USE_GUI) set(nglib_objects ${nglib_objects} + $ $ $ ) @@ -21,9 +22,9 @@ endif(WIN32) add_library(nglib SHARED nglib.cpp ${nglib_objects}) if(NOT WIN32) - target_link_libraries( nglib PUBLIC mesh interface geom2d csg visual) + target_link_libraries( nglib PUBLIC mesh interface geom2d csg stl visual) if(USE_GUI) - target_link_libraries( nglib PUBLIC geom2dvis csgvis ) + target_link_libraries( nglib PUBLIC stlvis geom2dvis csgvis ) endif(USE_GUI) endif(NOT WIN32)