From c033bacae076580d86458496d15af608e4f34042 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 5 May 2019 12:34:36 +0200 Subject: cmake: install sources --- CMakeLists.txt | 3 +-- cmake/opentrack-install.cmake | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79ab0b5e..5b1755f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,9 +82,8 @@ endfunction() otr_add_subdirs() otr_merge_translations() -#install_sources() - include(opentrack-install) +otr_install_sources() string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE) message(STATUS "-- Compile flags:") diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index cd4f6278..3a63cf69 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -22,7 +22,7 @@ function(otr_setup_refresh_install_dir) endif() endfunction() -function(install_sources) +function(otr_install_sources) otr_setup_refresh_install_dir() get_property(source-dirs GLOBAL PROPERTY opentrack-all-source-dirs) foreach(k ${source-dirs}) -- cgit v1.2.3