]> git.cworth.org Git - apitrace/blobdiff - retrace/CMakeLists.txt
common: dump backtrace on signals
[apitrace] / retrace / CMakeLists.txt
index 225ca45372089c235b9d7b0259808f30399ebd9f..fcb8f187659bbc0b70f41b223ab5c525d9a26bfd 100644 (file)
@@ -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 ()
 
@@ -231,6 +233,7 @@ if (WIN32)
                 ${CMAKE_SOURCE_DIR}/specs/d3d10misc.py
                 ${CMAKE_SOURCE_DIR}/specs/d3d10sdklayers.py
                 ${CMAKE_SOURCE_DIR}/specs/d3dcommon.py
+                ${CMAKE_SOURCE_DIR}/specs/dxgi1_2.py
                 ${CMAKE_SOURCE_DIR}/specs/dxgi.py
                 ${CMAKE_SOURCE_DIR}/specs/dxgitype.py
                 ${CMAKE_SOURCE_DIR}/specs/dxgiformat.py