mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Fix non-GUI build on Windows
This commit is contained in:
parent
3082f82498
commit
5646a725dd
@ -3,9 +3,7 @@ add_definitions(-DNGLIB_EXPORTS)
|
||||
if(WIN32)
|
||||
set(nglib_objects
|
||||
$<TARGET_OBJECTS:mesh>
|
||||
$<TARGET_OBJECTS:stlvis>
|
||||
$<TARGET_OBJECTS:stl>
|
||||
$<TARGET_OBJECTS:geom2dvis>
|
||||
$<TARGET_OBJECTS:interface>
|
||||
$<TARGET_OBJECTS:geom2d>
|
||||
$<TARGET_OBJECTS:csg>
|
||||
@ -15,9 +13,15 @@ if(WIN32)
|
||||
$<TARGET_OBJECTS:gprim>
|
||||
|
||||
$<TARGET_OBJECTS:visual>
|
||||
$<TARGET_OBJECTS:csgvis>
|
||||
$<TARGET_OBJECTS:occ>
|
||||
)
|
||||
if(USE_GUI)
|
||||
set(nglib_objects ${nglib_objects}
|
||||
$<TARGET_OBJECTS:stlvis>
|
||||
$<TARGET_OBJECTS:geom2dvis>
|
||||
$<TARGET_OBJECTS:csgvis>
|
||||
)
|
||||
endif(USE_GUI)
|
||||
endif(WIN32)
|
||||
|
||||
add_library(nglib SHARED nglib.cpp ${nglib_objects})
|
||||
|
Loading…
Reference in New Issue
Block a user