summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2021-02-26 23:44:28 +0300
committerAlexander Golubev <fatzer2@gmail.com>2021-02-27 19:25:09 +0300
commitd9491476626343e82d19446f10f60168eaada7ed (patch)
treeac2518de842b711ed7a02f720a6947bdca831009
parent3a63db139994124da997697d32e32c154d75eb21 (diff)
downloadtdetoys-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.txt2
-rw-r--r--kweather/CMakeLists.txt5
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}
)