netgen/libsrc/visualization/CMakeLists.txt

21 lines
665 B
CMake
Raw Normal View History

2015-03-06 18:59:14 +05:00
add_definitions(-DNGINTERFACE_EXPORTS)
2015-04-08 23:04:28 +05:00
install(FILES soldata.hpp DESTINATION include COMPONENT netgen_devel )
2015-03-06 18:59:14 +05:00
# AM_CPPFLAGS = $(MPI_INCLUDES) -I$(top_srcdir)/libsrc/include -DOPENGL -D$(TOGL_WINDOWINGSYSTEM) $(OCCFLAGS) $(TCL_INCLUDES)
if(USE_GUI)
add_library(visual ${NG_LIB_TYPE}
meshdoc.cpp mvdraw.cpp
vsfieldlines.cpp vsmesh.cpp vssolution.cpp importsolution.cpp visualpkg.cpp
)
if(NOT WIN32)
target_link_libraries( visual ${PYTHON_LIBS} ${MPI_CXX_LIBRARIES} ${OPENGL_LIBRARIES} ${TCL_LIBRARY} )
2015-04-08 23:04:28 +05:00
install( TARGETS visual DESTINATION lib COMPONENT netgen )
2015-03-06 18:59:14 +05:00
endif(NOT WIN32)
endif(USE_GUI)