From bad2a3e97a92b32c163510e7a0764034c1f87d80 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 31 Jul 2018 12:45:54 +0200 Subject: add maintainer mode for building WIP main-window mixins --- main-window/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'main-window') diff --git a/main-window/CMakeLists.txt b/main-window/CMakeLists.txt index f69080f1..c9228536 100644 --- a/main-window/CMakeLists.txt +++ b/main-window/CMakeLists.txt @@ -1,4 +1,6 @@ -otr_module(main-window BIN NO-INSTALL) -foreach(k user-interface logic pose-widget migration spline) - target_link_libraries(${self} opentrack-${k}) -endforeach() +if(opentrack_maintainer-mode) + otr_module(main-window BIN NO-INSTALL) + foreach(k user-interface logic pose-widget migration spline) + target_link_libraries(${self} opentrack-${k}) + endforeach() +endif() -- cgit v1.2.3