Commit f79ab034 authored by Brad King's avatar Brad King

COMP: Fix vtkSourceHash for VTK_USE_RPATH=OFF

This executable needs to run from the build tree and find the vtksys
shared library.  It does not need to be installed.  We can just always
use RPATH to help it find the shared library.
parent e6426d07
......@@ -7,6 +7,10 @@
# PURPOSE. See the above copyright notice for more information.
#
# This executable is only run from the build tree so we do not need a
# launcher for it and should always use the RPATH to find shared libs.
SET(CMAKE_SKIP_RPATH 0)
IF(NOT CMAKE_CROSSCOMPILING)
ADD_EXECUTABLE(vtkHashSource vtkHashSource.cxx)
TARGET_LINK_LIBRARIES(vtkHashSource vtksys)
......
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