nixpkgs/pkgs/applications/science/misc/root/cmake.patch

12 lines
586 B
Diff

--- cmake/modules/RootBuildOptions.cmake 1969-12-31 20:30:01.000000000 -0330
+++ cmake/modules/RootBuildOptions.cmake 2014-01-10 14:09:29.424937408 -0330
@@ -149,7 +149,7 @@
#---General Build options----------------------------------------------------------------------
# use, i.e. don't skip the full RPATH for the build tree
-set(CMAKE_SKIP_BUILD_RPATH FALSE)
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
# when building, don't use the install RPATH already (but later on when installing)
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
# add the automatically determined parts of the RPATH