summarylogtreecommitdiffstats
path: root/fix-cmake.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-cmake.patch')
-rw-r--r--fix-cmake.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/fix-cmake.patch b/fix-cmake.patch
deleted file mode 100644
index 2eba8cc20cbb..000000000000
--- a/fix-cmake.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -130,13 +130,6 @@
- target_link_libraries(libradiance ${radiance_LIBRARIES})
- target_link_libraries(radiance libradiance ${radiance_LIBRARIES})
-
--install(CODE "
-- if(NOT \"${RADIANCE_SYSTEM_RESOURCES}\" STREQUAL \"${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/\")
-- MESSAGE(\"For an install to work, RADIANCE_SYSTEM_RESOURCES must be set to '\\\${CMAKE_INSTALL_PREFIX}share/${PROJECT_NAME}/'\")
-- MESSAGE(FATAL_ERROR \"Please recompile with cmake -DRADIANCE_SYSTEM_RESOURCES=${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/\")
-- endif()
--")
--
- INSTALL(TARGETS radiance
- DESTINATION bin
- )