mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Link stl
This commit is contained in:
parent
8acf84b6ec
commit
c24e00f6d4
@ -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})
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user