From d4a1613e9f119ae68c695ab60f8d9856d1a54a52 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 27 Jun 2019 16:35:25 +0200 Subject: Conversion to the cmake building system. Add includes to UI files to resolve FTBFS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Signed-off-by: Slávek Banko --- kgeography/data/CMakeLists.txt | 11 +++++++++++ kgeography/data/flags/CMakeLists.txt | 12 ++++++++++++ kgeography/data/flags/italy/CMakeLists.txt | 6 ++++++ 3 files changed, 29 insertions(+) create mode 100644 kgeography/data/CMakeLists.txt create mode 100644 kgeography/data/flags/CMakeLists.txt create mode 100644 kgeography/data/flags/italy/CMakeLists.txt (limited to 'kgeography/data') diff --git a/kgeography/data/CMakeLists.txt b/kgeography/data/CMakeLists.txt new file mode 100644 index 00000000..f744e549 --- /dev/null +++ b/kgeography/data/CMakeLists.txt @@ -0,0 +1,11 @@ +add_subdirectory( flags ) + +##### other data + +file( GLOB _pngs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) +file( GLOB _kgms RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kgm ) + +install( + FILES ${_pngs} ${_kgms} + DESTINATION ${DATA_INSTALL_DIR}/kgeography/ +) diff --git a/kgeography/data/flags/CMakeLists.txt b/kgeography/data/flags/CMakeLists.txt new file mode 100644 index 00000000..50e33a6b --- /dev/null +++ b/kgeography/data/flags/CMakeLists.txt @@ -0,0 +1,12 @@ +add_subdirectory( italy ) +#add_subdirectory( svg ) + + +##### other data + +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kgeography/flags +) diff --git a/kgeography/data/flags/italy/CMakeLists.txt b/kgeography/data/flags/italy/CMakeLists.txt new file mode 100644 index 00000000..d11bdb54 --- /dev/null +++ b/kgeography/data/flags/italy/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kgeography/flags/italy +) -- cgit v1.2.1