Commit c3711476 authored by David E. DeMarle's avatar David E. DeMarle
Browse files

make the sdk package the public ospray includes

As of VTK commit dec19747, ospray is a public include of
Rendering/OSPRay, as such things that link against a PV install
will it.
parent 27ce1c85
......@@ -14,6 +14,19 @@ else ()
set(sed_cmd_suffix -i)
endif ()
foreach (cmake_file IN LISTS cmake_files)
execute_process(
COMMAND
${sed_cmd_prefix}
-e "s|${install_location}/include/ospray|\${_IMPORT_PREFIX}/include/paraview-${paraview_version}/ospray|g"
${sed_cmd_suffix}
"${cmake_file}"
RESULT_VARIABLE RES)
if (NOT RES EQUAL 0)
message(FATAL_ERROR "Failed to patch ${cmake_file}")
endif ()
endforeach ()
foreach (cmake_file IN LISTS cmake_files)
execute_process(
COMMAND
......
......@@ -64,6 +64,15 @@ if (tbb_built_by_superbuild)
USE_SOURCE_PERMISSIONS)
endif ()
# Extra ospray headers that are in the public interface
if (ospray_built_by_superbuild)
install(
DIRECTORY "${superbuild_install_location}/include/ospray"
DESTINATION "include/paraview-${paraview_version}"
COMPONENT superbuild
USE_SOURCE_PERMISSIONS)
endif ()
############################################################
# The rest of this deals with installing dependencies
############################################################
......
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