diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2021-02-26 23:44:28 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-27 17:42:20 +0100 |
commit | f09dc9a58f2594538ea1feac5e9da0dd4e29bbbf (patch) | |
tree | c015ec73c3d1d093b99412f33bdcbf9a4517020a | |
parent | 046de091f68309c57a1d7e468c4a72f2d41df282 (diff) | |
download | tdetoys-f09dc9a58f2594538ea1feac5e9da0dd4e29bbbf.tar.gz tdetoys-f09dc9a58f2594538ea1feac5e9da0dd4e29bbbf.zip |
cmake: a couple of small fixes
* Fix project name
* Add explicit dependencies for a custom command in kweather
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d9491476626343e82d19446f10f60168eaada7ed)
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | kweather/CMakeLists.txt | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 501b52b..24b21c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ cmake_minimum_required( VERSION 2.8.12 ) ##### general package setup ##################### -project( tdeutils ) +project( tdetoys ) set( VERSION R14.0.10 ) diff --git a/kweather/CMakeLists.txt b/kweather/CMakeLists.txt index 283dd47..5aa6517 100644 --- a/kweather/CMakeLists.txt +++ b/kweather/CMakeLists.txt @@ -57,6 +57,11 @@ add_custom_command( ${CMAKE_CURRENT_SOURCE_DIR}/data/nsd_cccc.txt ${CMAKE_CURRENT_SOURCE_DIR}/data/station_names.txt ${CMAKE_CURRENT_SOURCE_DIR}/weather_stations.desktop.in + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/genstations.pl + ${CMAKE_CURRENT_SOURCE_DIR}/data/nsd_cccc.txt + ${CMAKE_CURRENT_SOURCE_DIR}/data/station_names.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weather_stations.desktop.in WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) |