summaryrefslogtreecommitdiff
path: root/devel/smokegen-kde4/files/patch-cmake__CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/smokegen-kde4/files/patch-cmake__CMakeLists.txt')
-rw-r--r--devel/smokegen-kde4/files/patch-cmake__CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/smokegen-kde4/files/patch-cmake__CMakeLists.txt b/devel/smokegen-kde4/files/patch-cmake__CMakeLists.txt
new file mode 100644
index 000000000000..c65ef9bbb1e0
--- /dev/null
+++ b/devel/smokegen-kde4/files/patch-cmake__CMakeLists.txt
@@ -0,0 +1,9 @@
+--- ./cmake/CMakeLists.txt.orig 2011-09-02 10:45:20.417638425 +0200
++++ ./cmake/CMakeLists.txt 2011-09-02 10:47:24.107638581 +0200
+@@ -21,4 +21,5 @@
+ MacroOptionalFindPackage.cmake
+ )
+
+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SmokeConfig.cmake ${smoke_cmake_files} DESTINATION ${SMOKE_CMAKE_MODULE_DIR})
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SmokeConfig.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/smoke)
++install(FILES ${smoke_cmake_files} DESTINATION ${SMOKE_CMAKE_MODULE_DIR})