This commit is contained in:
Matthias Hochsteger 2019-10-03 11:05:56 +02:00
parent 8acf84b6ec
commit c24e00f6d4
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ add_library(interface ${NG_LIB_TYPE}
wuchemnitz.cpp writegmsh2.cpp writeOpenFOAM15x.cpp 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) if(NOT WIN32)
install( TARGETS interface ${NG_INSTALL_DIR}) install( TARGETS interface ${NG_INSTALL_DIR})

View File

@ -13,6 +13,7 @@ if(WIN32)
) )
if(USE_GUI) if(USE_GUI)
set(nglib_objects ${nglib_objects} set(nglib_objects ${nglib_objects}
$<TARGET_OBJECTS:stlvis>
$<TARGET_OBJECTS:geom2dvis> $<TARGET_OBJECTS:geom2dvis>
$<TARGET_OBJECTS:csgvis> $<TARGET_OBJECTS:csgvis>
) )
@ -21,9 +22,9 @@ endif(WIN32)
add_library(nglib SHARED nglib.cpp ${nglib_objects}) add_library(nglib SHARED nglib.cpp ${nglib_objects})
if(NOT WIN32) 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) if(USE_GUI)
target_link_libraries( nglib PUBLIC geom2dvis csgvis ) target_link_libraries( nglib PUBLIC stlvis geom2dvis csgvis )
endif(USE_GUI) endif(USE_GUI)
endif(NOT WIN32) endif(NOT WIN32)