diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-28 00:04:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-28 00:04:11 +0200 |
commit | b252ceaf9bd55cc4df674b49b5fbd418a66976d1 (patch) | |
tree | 594241f43099b78c7fc602e94dbcf4c27db01805 /gui/CMakeLists.txt | |
parent | de6177a7793ad27f683b333c636a8cd47415f192 (diff) |
gui/cmake: cleanup
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r-- | gui/CMakeLists.txt | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 216b6f0e..cb5e2bdc 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -1,6 +1,6 @@ otr_module(user-interface BIN) -target_link_libraries(opentrack-user-interface +target_link_libraries(${self} opentrack-migration opentrack-logic opentrack-spline @@ -8,18 +8,10 @@ target_link_libraries(opentrack-user-interface opentrack-version ) +# for process detector if(APPLE) - # for process detector - target_link_libraries(opentrack-user-interface proc) -endif() - -if(LINUX) - target_link_libraries(opentrack-user-interface dl) - # for process detector - - # XXX copy-paste from qxt-mini module - # make a pkg-config wrapper - # also set ${self} to target's name when invoking `otr_module' -sh 20180527 - otr_pkgconfig(opentrack-user-interface libprocps) + target_link_libraries(${self} proc) +elseif(LINUX) + otr_pkgconfig(${self} libprocps) endif() |