diff options
author | gregory guy <[email protected]> | 2019-01-30 11:42:53 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-02-02 15:36:40 +0100 |
commit | 4f89efe3465eff6c67fa2674ea5f98452b34757a (patch) | |
tree | 0e2f4d1e9c2a64dd1e000adac52c2e196ff83dee /extras | |
parent | 32a4ad7b1211ceabc5da467c01aec379b26e5eea (diff) | |
download | kshutdown-4f89efe3465eff6c67fa2674ea5f98452b34757a.tar.gz kshutdown-4f89efe3465eff6c67fa2674ea5f98452b34757a.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
(cherry picked from commit d4155deb8d425efa01e2d2e9332ecfe4f12ccb9c)
Diffstat (limited to 'extras')
-rw-r--r-- | extras/CMakeLists.txt | 8 | ||||
-rw-r--r-- | extras/multimedia/CMakeLists.txt | 6 | ||||
-rw-r--r-- | extras/shutdown/CMakeLists.txt | 6 | ||||
-rw-r--r-- | extras/system/CMakeLists.txt | 6 |
4 files changed, 26 insertions, 0 deletions
diff --git a/extras/CMakeLists.txt b/extras/CMakeLists.txt new file mode 100644 index 0000000..4645d0a --- /dev/null +++ b/extras/CMakeLists.txt @@ -0,0 +1,8 @@ +add_subdirectory( multimedia ) +add_subdirectory( shutdown ) +add_subdirectory( system ) + +install( + FILES hibernate.desktop + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras +) diff --git a/extras/multimedia/CMakeLists.txt b/extras/multimedia/CMakeLists.txt new file mode 100644 index 0000000..00173e8 --- /dev/null +++ b/extras/multimedia/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) + +install( + FILES ${_files} .directory + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/multimedia +) diff --git a/extras/shutdown/CMakeLists.txt b/extras/shutdown/CMakeLists.txt new file mode 100644 index 0000000..f6c8d32 --- /dev/null +++ b/extras/shutdown/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) + +install( + FILES ${_files} .directory + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/shutdown +) diff --git a/extras/system/CMakeLists.txt b/extras/system/CMakeLists.txt new file mode 100644 index 0000000..6e6e107 --- /dev/null +++ b/extras/system/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) + +install( + FILES ${_files} .directory + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/system +) |