diff options
author | Laurent Carlier <lordheavym@gmail.com> | 2013-03-19 20:46:57 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-03-20 13:22:37 +0000 |
commit | 12e1f987f7af2fb66dc6d28ab50f913d6e54a141 (patch) | |
tree | ca33033231dc32b7c32836f96ccc06727f983fdb /retrace | |
parent | 983f27081e422f517cc6712165d2b3a7bf596cb1 (diff) |
cmake: Check for libproc library name
libprocps can be replaced with libprocps-ng, so check for the proper library name.
This fix building with ArchLinux.
Reviewed-by: Arthur Huillet <arthur.huillet@free.fr>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'retrace')
-rw-r--r-- | retrace/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt index 57d5d122..913c23e1 100644 --- a/retrace/CMakeLists.txt +++ b/retrace/CMakeLists.txt @@ -103,7 +103,7 @@ if (WIN32 OR APPLE OR X11_FOUND) if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") target_link_libraries (glretrace rt) if (READPROC_H_FOUND) - target_link_libraries (glretrace proc) + target_link_libraries (glretrace ${proc_LIBRARY}) endif () endif () @@ -131,7 +131,7 @@ if (ENABLE_EGL AND X11_FOUND AND NOT WIN32 AND NOT APPLE) if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") target_link_libraries (eglretrace rt) if (READPROC_H_FOUND) - target_link_libraries (eglretrace proc) + target_link_libraries (eglretrace ${proc_LIBRARY}) endif () endif () |