3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/shadered/install_path_fix.patch
Fritz Otlinghaus a1bbe1306e
SHADERed: 1.4.1 -> 1.5.6 (#143915)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-31 23:25:27 +01:00

14 lines
574 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55eb05c..18f7fc3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,7 +234,7 @@ endif()
set(BINARY_INST_DESTINATION "bin")
set(RESOURCE_INST_DESTINATION "share/shadered")
-install(PROGRAMS bin/SHADERed DESTINATION "${BINARY_INST_DESTINATION}" RENAME shadered)
+install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bin/SHADERed DESTINATION "${BINARY_INST_DESTINATION}" RENAME shadered)
install(DIRECTORY bin/data bin/templates bin/themes bin/plugins DESTINATION "${RESOURCE_INST_DESTINATION}")
if (UNIX AND NOT APPLE)