X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2FCMakeLists.txt;h=9ea1ae9998e68587f67c43498ded0790b9769657;hb=4f9982f5ec3dccae65d5a49dfd5a81b9737d90cd;hp=b271727458bb2d6db722c045eaee1eb193dbe4c5;hpb=cbb86175e81c2765f14fa01a2dc49d367203ac1f;p=apitrace diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt index b271727..9ea1ae9 100644 --- a/retrace/CMakeLists.txt +++ b/retrace/CMakeLists.txt @@ -102,6 +102,9 @@ 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) + endif () endif () endif () @@ -127,6 +130,9 @@ 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) + endif () endif () install (TARGETS eglretrace RUNTIME DESTINATION bin)