From 84a8fd04f9880620983705ded75f2fb6efc6ddac Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 10 Feb 2019 01:09:24 +0100 Subject: cmake: link version static library to the right target --- variant/default/CMakeLists.txt | 2 +- variant/default/_variant.cmake | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'variant/default') diff --git a/variant/default/CMakeLists.txt b/variant/default/CMakeLists.txt index a9e3c754..a8829aa5 100644 --- a/variant/default/CMakeLists.txt +++ b/variant/default/CMakeLists.txt @@ -6,4 +6,4 @@ set_target_properties(opentrack-executable PROPERTIES PREFIX "" ) -target_link_libraries(opentrack-executable opentrack-user-interface) +target_link_libraries(${self} opentrack-user-interface opentrack-version) diff --git a/variant/default/_variant.cmake b/variant/default/_variant.cmake index b7ba90b3..04994dae 100644 --- a/variant/default/_variant.cmake +++ b/variant/default/_variant.cmake @@ -22,7 +22,8 @@ function(otr_init_variant) "macosx" "cv" "migration" - "main-window") + "main-window" + ) set_property(GLOBAL PROPERTY opentrack-subprojects "${subprojects}") endfunction() -- cgit v1.2.3