diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-07 11:08:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-07 11:08:32 +0200 |
commit | f3db1699d62fdf1dafa511373990f4d44b4d4510 (patch) | |
tree | bb520c2dd87fee8bc9f76f7471bc4d7bdd074eb4 /cmake/opentrack-boilerplate.cmake | |
parent | 4b4f6dd1aa0954adc6907c4e1967f51e278e6e09 (diff) |
cmake: remove PROJECT() scope from subdirectories
cf. https://bugreports.qt.io/browse/QTCREATORBUG-17955
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 7 |
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" |