nixpkgs/pkgs/desktops/kde-4.8/files/kde-base-artwork-nokde.patch
Yury G. Kudryashov c65ada160e KDE-4.8.1
* Switch to .tar.xz.
* Update fixed-output derivations hashes.
* Add kde-base-artwork (ksplashx themes)

svn path=/nixpkgs/trunk/; revision=32874
2012-03-08 06:53:44 +00:00

14 lines
315 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04d2142..294b9a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,6 @@
-find_package(KDE4 REQUIRED)
-include(KDE4Defaults)
+if(NOT DATA_INSTALL_DIR)
+ find_package(KDE4 REQUIRED)
+ include(KDE4Defaults)
+endif()
add_subdirectory( ksplashx-themes )