mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
15 lines
518 B
CMake
15 lines
518 B
CMake
add_library(occ ${NG_LIB_TYPE}
|
|
Partition_Inter2d.cxx Partition_Inter3d.cxx
|
|
Partition_Loop.cxx Partition_Loop2d.cxx Partition_Loop3d.cxx Partition_Spliter.cxx
|
|
occconstruction.cpp occgenmesh.cpp occgeom.cpp occmeshsurf.cpp
|
|
)
|
|
|
|
add_library(occvis ${NG_LIB_TYPE} occpkg.cpp vsocc.cpp)
|
|
|
|
if(NOT WIN32)
|
|
target_link_libraries( occ ${OCC_LIBRARIES} ${PYTHON_LIBS})
|
|
target_link_libraries( occvis occ )
|
|
install( TARGETS occ occvis DESTINATION lib COMPONENT netgen )
|
|
endif(NOT WIN32)
|
|
|