mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
b694b4667a
move fieldlines code to meshing dir move visualization function pointers to meshing directory DLL_HEADER -> NGGUI_API in visualization lib move soldata.hpp to meshing update occ, no freetype necessary anymore
14 lines
559 B
CMake
14 lines
559 B
CMake
target_sources(nglib PRIVATE nglib.cpp)
|
|
|
|
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)
|
|
|
|
target_link_libraries(nglib PUBLIC ngcore)
|
|
|
|
target_link_libraries( nglib PRIVATE ${MPI_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} ${MKL_LIBRARIES} ${ZLIB_LIBRARIES} ${OCC_LIBRARIES} netgen_cgns )
|
|
|
|
install(TARGETS nglib netgen_cgns ${NG_INSTALL_DIR})
|
|
install(FILES nglib.h DESTINATION ${NG_INSTALL_DIR_INCLUDE} COMPONENT netgen_devel)
|