summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 36c8d666..89127679 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -108,6 +108,8 @@ function(otr_install_pdb_current_project target)
endif()
endfunction()
+include(cotire)
+
function(otr_module n_)
message(STATUS "module ${n_}")
cmake_parse_arguments(arg
@@ -193,6 +195,8 @@ function(otr_module n_)
set_property(GLOBAL APPEND PROPERTY opentrack-all-modules "${n}")
set_property(GLOBAL APPEND PROPERTY opentrack-all-source-dirs "${CMAKE_CURRENT_SOURCE_DIR}")
+
+ cotire(${n})
endfunction()
function(otr_prop type)