summaryrefslogtreecommitdiffstats
path: root/deskutils/kdepimlibs4/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/kdepimlibs4/files/patch-CMakeLists.txt')
-rw-r--r--deskutils/kdepimlibs4/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/kdepimlibs4/files/patch-CMakeLists.txt b/deskutils/kdepimlibs4/files/patch-CMakeLists.txt
new file mode 100644
index 000000000..312ff0638
--- /dev/null
+++ b/deskutils/kdepimlibs4/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- ../CMakeLists.txt.orig 2009-02-26 17:15:42.000000000 +0300
++++ ../CMakeLists.txt 2009-03-07 09:57:33.000000000 +0300
+@@ -127,7 +127,7 @@
+ macro_write_basic_cmake_version_file(${CMAKE_CURRENT_BINARY_DIR}/KdepimLibsConfigVersion.cmake
+ ${KDEPIMLIBS_VERSION_MAJOR} ${KDEPIMLIBS_VERSION_MINOR} ${KDEPIMLIBS_VERSION_PATCH})
+
+-set(_KdepimLibsConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/KdepimLibs-${KDEPIMLIBS_VERSION}/cmake)
++set(_KdepimLibsConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/KdepimLibs/cmake)
+ # places where find_package() looks for FooConfig.cmake files:
+ # CMake >= 2.6.0 looks in lib/Foo*/cmake/, CMake >= 2.6.3 also looks in
+ # lib/cmake/Foo*/, which packagers prefer. So they can set the KDE4_USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR