summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2017-09-22 15:38:22 -0700
committerMark Janes <mark.a.janes@intel.com>2017-09-22 15:40:47 -0700
commit3ef5d4da2b6932af1c2cc4e57c54ab84c829f4b8 (patch)
tree7e27a3f94b026f0bb0fa8b57780e663e3cf994c6
parent58b16daa395854e26bb26c138bb3350d0067df22 (diff)
CMake: hack retrace_common link libs to link against X11 on ubuntu
https://www.pivotaltracker.com/story/show/149278283
-rw-r--r--retrace/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt
index 6fef3802..fa4c4853 100644
--- a/retrace/CMakeLists.txt
+++ b/retrace/CMakeLists.txt
@@ -70,6 +70,7 @@ target_link_libraries (retrace_common
${ZLIB_LIBRARIES}
${SNAPPY_LIBRARIES}
${GETOPT_LIBRARIES}
+ ${X11_X11_LIB}
)
if (NOT ANDROID AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries (retrace_common rt)