X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;h=cd320440e8092d1244817a1476d436e63c9df9a9;hb=d46b8d338220dd9935f25651c75046b9081b758a;hp=7da18a7ab5dfbb71a94b8b03d681aa10040b479c;hpb=c7b1c2a58055b6a95393b6abff9d2a45d700c27c;p=apitrace diff --git a/CMakeLists.txt b/CMakeLists.txt index 7da18a7..cd32044 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -283,7 +283,14 @@ else () DEPENDS glxtrace.py gltrace.py trace.py glxapi.py glapi.py glparams.py gltypes.py stdapi.py ) - add_library (glxtrace SHARED glxtrace.cpp trace_writer.cpp os_posix.cpp ${CMAKE_CURRENT_BINARY_DIR}/glproc.hpp) + add_library (glxtrace SHARED + ${CMAKE_CURRENT_BINARY_DIR}/glproc.hpp + glxtrace.cpp + glsnapshot.cpp + trace_writer.cpp + image.cpp + os_posix.cpp + ) set_target_properties (glxtrace PROPERTIES # avoid the default "lib" prefix @@ -296,7 +303,7 @@ else () LINK_FLAGS "-Wl,-Bsymbolic -Wl,-Bsymbolic-functions" ) - target_link_libraries (glxtrace dl) + target_link_libraries (glxtrace dl ${X11_X11_LIB}) install (TARGETS glxtrace LIBRARY DESTINATION lib) endif ()