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 /kweather/CMakeLists.txt | |
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)
Diffstat (limited to 'kweather/CMakeLists.txt')
-rw-r--r-- | kweather/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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} ) |