Commit 5c9fa2b5 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkRenderingVolumeOpenGL2: remove copy_shaders target

Shaders are compiled and don't need to be copied around.

Change-Id: Ib963fd7393d71451b9f57871a7f70d2b6edaff76
parent 5f3fc5c3
......@@ -55,11 +55,3 @@ list(APPEND Module_SRCS
set_source_files_properties(${vtk-module}ObjectFactory.cxx WRAP_EXCLUDE)
vtk_module_library(vtkRenderingVolumeOpenGL2 ${Module_SRCS})
add_custom_command(OUTPUT "${vtkRenderingVolumeOpenGL2_BINARY_DIR}/shaders"
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${vtkRenderingVolumeOpenGL2_SOURCE_DIR}/shaders"
"${CMAKE_BINARY_DIR}/shaders")
add_custom_target(copy_shaders ALL DEPENDS
"${vtkRenderingVolumeOpenGL2_BINARY_DIR}/shaders")
add_dependencies(vtkRenderingVolumeOpenGL2 copy_shaders)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment