# still providing a mechanism to force/disable these optional dependencies, as
# prescribed in http://www.gentoo.org/proj/en/qa/automagic.xml
-set (ENABLE_GUI "AUTO" CACHE STRING "Enable QT GUI.")
+set (ENABLE_GUI "AUTO" CACHE STRING "Enable Qt GUI.")
##############################################################################
find_package (PythonInterp REQUIRED)
find_package (OpenGL REQUIRED)
+find_package (Snappy REQUIRED)
if (ENABLE_GUI)
if (NOT (ENABLE_GUI STREQUAL "AUTO"))
include_directories (${ZLIB_INCLUDE_DIRS})
link_libraries (${ZLIB_LIBRARIES})
+link_libraries(${SNAPPY_LIBRARIES})
+
set (PNG_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libpng)
set (PNG_DEFINITIONS "")
set (PNG_LIBRARIES png_bundled)
endif (WIN32)
add_library (common
+ trace_file.cpp
trace_model.cpp
trace_parser.cpp
trace_writer.cpp
)
target_link_libraries (glxtrace dl ${X11_X11_LIB})
-
+
install (TARGETS glxtrace LIBRARY DESTINATION lib)
endif ()