mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
3661c7a842
Signed-off-by: Domen Kožar <domen@dev.si>
16 lines
660 B
Diff
16 lines
660 B
Diff
diff -Naur smokegen-4.14.3-upstream/CMakeLists.txt smokegen-4.14.3/CMakeLists.txt
|
|
--- smokegen-4.14.3-upstream/CMakeLists.txt 2014-09-15 13:23:01.000000000 -0430
|
|
+++ smokegen-4.14.3/CMakeLists.txt 2015-03-29 16:41:59.295598992 -0430
|
|
@@ -32,9 +32,9 @@
|
|
type.cpp
|
|
)
|
|
|
|
-# force RPATH so that the binary is usable from within the build tree
|
|
-set (CMAKE_SKIP_BUILD_RPATH FALSE)
|
|
-set (CMAKE_SKIP_RPATH FALSE)
|
|
+# add the automatically determined parts of the RPATH
|
|
+# which point to directories outside the build tree to the install RPATH
|
|
+set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
|
|
|
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in config.h @ONLY )
|
|
|