2022-04-27 16:42:04 +05:00
|
|
|
target_sources(nglib PRIVATE nglib.cpp)
|
2015-03-06 18:59:14 +05:00
|
|
|
|
2022-04-27 16:42:04 +05:00
|
|
|
if(USE_OCC)
|
|
|
|
target_sources(nglib PRIVATE nglib_occ.cpp)
|
|
|
|
install(FILES nglib_occ.h DESTINATION ${NG_INSTALL_DIR_INCLUDE} COMPONENT netgen_devel)
|
|
|
|
endif(USE_OCC)
|
2015-10-19 13:08:30 +05:00
|
|
|
|
2019-01-08 17:12:12 +05:00
|
|
|
target_link_libraries(nglib PUBLIC ngcore)
|
2018-12-12 15:05:17 +05:00
|
|
|
|
2022-04-27 16:42:04 +05:00
|
|
|
target_link_libraries( nglib PRIVATE ${MPI_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} ${MKL_LIBRARIES} ${ZLIB_LIBRARIES} ${OCC_LIBRARIES} netgen_cgns )
|
2015-03-06 18:59:14 +05:00
|
|
|
|
2022-04-27 16:42:04 +05:00
|
|
|
install(TARGETS nglib netgen_cgns ${NG_INSTALL_DIR})
|
2018-01-23 14:06:12 +05:00
|
|
|
install(FILES nglib.h DESTINATION ${NG_INSTALL_DIR_INCLUDE} COMPONENT netgen_devel)
|