diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-10 01:09:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-10 01:50:50 +0100 |
commit | 84a8fd04f9880620983705ded75f2fb6efc6ddac (patch) | |
tree | f9da5a155788cc560665ef817770a3116ac6fa1b /variant/default | |
parent | 0e2909b8c7dc4ab1cf30a5881ae127c2417eed62 (diff) |
cmake: link version static library to the right target
Diffstat (limited to 'variant/default')
-rw-r--r-- | variant/default/CMakeLists.txt | 2 | ||||
-rw-r--r-- | variant/default/_variant.cmake | 3 |
2 files changed, 3 insertions, 2 deletions
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() |