mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-12 16:17:29 +05:00
fix non-occ build on windows
This commit is contained in:
parent
329364e8e2
commit
d7be2c8561
@ -9,7 +9,6 @@ if(WIN32)
|
|||||||
$<TARGET_OBJECTS:csg>
|
$<TARGET_OBJECTS:csg>
|
||||||
|
|
||||||
$<TARGET_OBJECTS:visual>
|
$<TARGET_OBJECTS:visual>
|
||||||
$<TARGET_OBJECTS:occ>
|
|
||||||
)
|
)
|
||||||
if(USE_GUI)
|
if(USE_GUI)
|
||||||
set(nglib_objects ${nglib_objects}
|
set(nglib_objects ${nglib_objects}
|
||||||
@ -18,6 +17,9 @@ if(WIN32)
|
|||||||
$<TARGET_OBJECTS:csgvis>
|
$<TARGET_OBJECTS:csgvis>
|
||||||
)
|
)
|
||||||
endif(USE_GUI)
|
endif(USE_GUI)
|
||||||
|
if(USE_OCC)
|
||||||
|
set(nglib_objects ${nglib_objects} $<TARGET_OBJECTS:occ>)
|
||||||
|
endif(USE_OCC)
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
add_library(nglib SHARED nglib.cpp ${nglib_objects})
|
add_library(nglib SHARED nglib.cpp ${nglib_objects})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user