]> git.cworth.org Git - vogl/commitdiff
Fix some missing libraries.
authorLukáš Jirkovský <l.jirkovsky@gmail.com>
Fri, 14 Mar 2014 10:30:54 +0000 (11:30 +0100)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Apr 2014 18:47:12 +0000 (11:47 -0700)
src/vogleditor/CMakeLists.txt

index 15996cb82595d57d9b3ce0b52ae7e6394c876d5a..e63fd93b886bcd2162023d60781572dd76b92fe2 100644 (file)
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.8.9)
 
 include("${SRC_DIR}/build_options.cmake")
 find_package(Qt4 REQUIRED)
+find_package(Threads REQUIRED)
+find_package(X11 REQUIRED)
 
 include_directories(
     ${SRC_DIR}
@@ -149,9 +151,12 @@ target_link_libraries(${PROJECT_NAME}
        ${QT_QTCORE_LIBRARY} 
        ${QT_QTGUI_LIBRARY} 
        ${TELEMETRY_LIBRARY}
+       ${CMAKE_THREAD_LIBS_INIT}
+       ${X11_X11_LIB}
        backtrace
        voglcommon
-    voglcore
+       voglcore
+       dl
    )
 
 build_options_finalize()