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.cmake7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 42e6d756..11e5c71d 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -105,13 +105,8 @@ function(otr_install_pdb_current_project)
endif()
endfunction()
-macro(otr_module n)
+function(otr_module n)
message(STATUS "module ${n}")
- project("opentrack-${n}")
- otr_module_("${n}" ${ARGN})
-endmacro()
-
-function(otr_module_ n)
cmake_parse_arguments(arg
"STATIC;NO-COMPAT;BIN;EXECUTABLE;NO-QT;WIN32-CONSOLE;NO-INSTALL"
"LINK;COMPILE"