summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--cmake/opentrack-install.cmake2
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})