mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
d6f1cf2bda
Works around following issue with CMake 3.14: > CMake error : install(EXPORT "netgen-targets" ...) includes target "mesh" which requires target "gprim" that is not in the export set.
20 lines
737 B
CMake
20 lines
737 B
CMake
add_definitions(-DNGINTERFACE_EXPORTS)
|
|
add_library(interface ${NG_LIB_TYPE}
|
|
nginterface.cpp nginterface_v2.cpp
|
|
read_fnf_mesh.cpp readtetmesh.cpp readuser.cpp writeabaqus.cpp writediffpack.cpp
|
|
writedolfin.cpp writeelmer.cpp writefeap.cpp writefluent.cpp writegmsh.cpp writejcm.cpp
|
|
writepermas.cpp writetecplot.cpp writetet.cpp writetochnog.cpp writeuser.cpp
|
|
wuchemnitz.cpp writegmsh2.cpp writeOpenFOAM15x.cpp
|
|
)
|
|
|
|
target_link_libraries(interface mesh csg geom2d)
|
|
target_link_libraries(interface visual)
|
|
if(NOT WIN32)
|
|
install( TARGETS interface ${NG_INSTALL_DIR})
|
|
endif(NOT WIN32)
|
|
|
|
install(FILES
|
|
writeuser.hpp
|
|
DESTINATION ${NG_INSTALL_DIR_INCLUDE}/interface COMPONENT netgen_devel
|
|
)
|