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