diff options
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r-- | gui/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index bc9487b8..398223b3 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -11,7 +11,14 @@ target_link_libraries(${self} if(APPLE) target_link_libraries(${self} proc) elseif(LINUX) - otr_pkgconfig(${self} libproc2) + otr_pkgconfig_(has-libproc2 ${self} libproc2) + if(has-libproc2) + message(STATUS "!!!!! has libproc2") + target_compile_definitions(${self} PRIVATE -DOTR_HAS_LIBPROC2) + else() + message(STATUS "!!!!! no libproc2") + otr_pkgconfig(${self} libprocps) + endif() endif() if(NOT APPLE AND NOT WIN32) |