mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
08f6682666
svn path=/nixpkgs/trunk/; revision=32392
18 lines
499 B
Diff
18 lines
499 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3d3e247..f78db67 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,5 +1,10 @@
|
|
-find_package(KDE4 REQUIRED)
|
|
-include(KDE4Defaults)
|
|
+project(kde-wallpapers NONE)
|
|
+if( WALLPAPER_INSTALL_DIR )
|
|
+ message(STATUS "Installing wallpapers to user-supplied directory ${WALLPAPER_INSTALL_DIR}")
|
|
+else()
|
|
+ find_package(KDE4 REQUIRED)
|
|
+ include(KDE4Defaults)
|
|
+endif()
|
|
|
|
install(DIRECTORY Air DESTINATION ${WALLPAPER_INSTALL_DIR} PATTERN .svn EXCLUDE)
|
|
|