Skip to content
Snippets Groups Projects
Commit 079f82cd authored by Kitware Robot's avatar Kitware Robot Committed by Ben Boeckel
Browse files

gl2ps 2018-10-08 (41c8e2a3)

Code extracted from:

    https://gitlab.kitware.com/third-party/gl2ps.git

at commit 41c8e2a3fe1c2c1b65cb181491d879ad07906ba0 (for/vtk-20181008-gb92efdf).
parent 08086dee
No related branches found
No related tags found
No related merge requests found
......@@ -5,34 +5,27 @@ set(headers
gl2ps.h
vtk_gl2ps_mangle.h)
vtk_add_library(vtkgl2ps ${sources} ${headers})
target_link_libraries(vtkgl2ps PUBLIC ${vtkpng_LIBRARIES} ${vtkzlib_LIBRARIES})
include(vtkOpenGL)
vtk_opengl_link(vtkgl2ps)
if (NOT VTK_INSTALL_NO_DEVELOPMENT)
install(FILES
${headers}
DESTINATION "${VTK_INSTALL_INCLUDE_DIR}/vtkgl2ps"
COMPONENT Development)
endif()
set_target_properties(vtkgl2ps
vtk_module_add_module(VTK::gl2ps
SOURCES ${sources}
HEADERS ${headers}
HEADERS_SUBDIR "vtkgl2ps")
set_target_properties(gl2ps
PROPERTIES
DEFINE_SYMBOL GL2PSDLL_EXPORTS)
if (BUILD_SHARED_LIBS)
target_compile_definitions(vtkgl2ps
target_compile_definitions(gl2ps
PRIVATE
GL2PSDLL)
endif ()
target_compile_definitions(vtkgl2ps
target_compile_definitions(gl2ps
PRIVATE
HAVE_ZLIB
HAVE_PNG)
if (UNIX)
target_link_libraries(vtkgl2ps
target_link_libraries(gl2ps
PRIVATE
m)
endif ()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment