Revision: 78038
          http://sourceforge.net/p/brlcad/code/78038
Author:   starseeker
Date:     2020-12-20 15:02:43 +0000 (Sun, 20 Dec 2020)
Log Message:
-----------
As with itcl, try to adjust itk rpath

Modified Paths:
--------------
    brlcad/branches/extbuild/src/other/ext/itk.cmake

Modified: brlcad/branches/extbuild/src/other/ext/itk.cmake
===================================================================
--- brlcad/branches/extbuild/src/other/ext/itk.cmake    2020-12-20 14:58:40 UTC 
(rev 78037)
+++ brlcad/branches/extbuild/src/other/ext/itk.cmake    2020-12-20 15:02:43 UTC 
(rev 78038)
@@ -35,6 +35,12 @@
 
   if (DO_ITK_BUILD)
 
+    # If we're building ITK, it's path setup must take into account the
+    # subdirectory in which we are storing the library.
+    relative_rpath(RELPATH SUFFIX itk3.4)
+    set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIB_DIR}${RELPATH}")
+    ext_build_rpath(SUFFIX itk3.4)
+
     set(BRLCAD_ITK_BUILD "ON" CACHE STRING "Enable Itk build" FORCE)
 
     set(ITK_SRC_DIR "${CMAKE_CURRENT_BINARY_DIR}/ITK_BLD-prefix/src/ITK_BLD")

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to