diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2021-02-26 23:44:28 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2021-02-27 19:25:09 +0300 |
commit | d9491476626343e82d19446f10f60168eaada7ed (patch) | |
tree | ac2518de842b711ed7a02f720a6947bdca831009 | |
parent | 3a63db139994124da997697d32e32c154d75eb21 (diff) | |
download | tdetoys-d9491476626343e82d19446f10f60168eaada7ed.tar.gz tdetoys-d9491476626343e82d19446f10f60168eaada7ed.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>
-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 efc1042..e6e85ce 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.1.0 ) 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} ) |