X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2FCMakeLists.txt;h=fcb8f187659bbc0b70f41b223ab5c525d9a26bfd;hb=2a5696befce6be00fa655b751af5ce2924ea45ae;hp=57d5d1223ad1af5da15bba6281f74a80c9c4dc1b;hpb=cd3f69ef1a354e16f2bffdf29206f41f7dff95b7;p=apitrace diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt index 57d5d12..fcb8f18 100644 --- a/retrace/CMakeLists.txt +++ b/retrace/CMakeLists.txt @@ -18,6 +18,7 @@ add_custom_command ( glretrace.py retrace.py ${CMAKE_SOURCE_DIR}/specs/glapi.py + ${CMAKE_SOURCE_DIR}/specs/glesapi.py ${CMAKE_SOURCE_DIR}/specs/gltypes.py ${CMAKE_SOURCE_DIR}/specs/stdapi.py ) @@ -45,6 +46,7 @@ target_link_libraries (retrace_common ${ZLIB_LIBRARIES} ${SNAPPY_LIBRARIES} ${GETOPT_LIBRARIES} + ${LIBBACKTRACE_LIBRARIES} ) add_library (glretrace_common STATIC @@ -103,7 +105,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 +133,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 ()