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>
pull/13/head
Alexander Golubev 3 years ago
parent 3a63db1399
commit d949147662

@ -14,7 +14,7 @@ cmake_minimum_required( VERSION 2.8.12 )
##### general package setup #####################
project( tdeutils )
project( tdetoys )
set( VERSION R14.1.0 )

@ -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}
)

Loading…
Cancel
Save