mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
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)
|
|
|