# to deploy the wrappers DLLs
find_package (ZLIB)
find_package (PNG)
+ find_package (X11 REQUIRED)
else (NOT WIN32)
find_package (DirectX)
endif (NOT WIN32)
endif (MINGW)
else ()
+ include_directories (${X11_INCLUDE_DIR})
# libGL.so
add_custom_command (
trace
${OPENGL_gl_LIBRARY}
${OPENGL_glu_LIBRARY}
+ ${X11_LIBRARIES}
)
+if (NOT WIN32)
+ target_link_libraries (glretrace ${X11_LIBRARIES})
+endif (NOT WIN32)
+
if (QT4_FOUND AND QJSON_FOUND)
add_subdirectory(gui)
endif (QT4_FOUND AND QJSON_FOUND)