endif ()
add_library (common STATIC
+ common/trace_callset.cpp
common/trace_dump.cpp
common/trace_file.cpp
common/trace_file_read.cpp
common/trace_file_write.cpp
common/trace_file_zlib.cpp
common/trace_file_snappy.cpp
+ common/trace_copier.cpp
common/trace_model.cpp
common/trace_parser.cpp
common/trace_parser_flags.cpp
pthread
dl
)
+
+ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ target_link_libraries (glretrace rt)
+ endif ()
+
endif ()
install (TARGETS glretrace RUNTIME DESTINATION bin)
dl
)
+ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ target_link_libraries (eglretrace rt)
+ endif ()
+
install (TARGETS eglretrace RUNTIME DESTINATION bin)
endif ()