From d9491476626343e82d19446f10f60168eaada7ed Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Fri, 26 Feb 2021 23:44:28 +0300 Subject: cmake: a couple of small fixes * Fix project name * Add explicit dependencies for a custom command in kweather Signed-off-by: Alexander Golubev --- CMakeLists.txt | 2 +- kweather/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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} ) -- cgit v1.2.1