X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fvogleditor%2FCMakeLists.txt;h=e63fd93b886bcd2162023d60781572dd76b92fe2;hb=9efcfb2c254b732a4d9494c08ad6641cebb7ce79;hp=2dc839e284e345357b9dacd9618c8a1dd808c93b;hpb=9dcebfcee2cb0a4e2a3f9d6abfb1852ef92edadd;p=vogl diff --git a/src/vogleditor/CMakeLists.txt b/src/vogleditor/CMakeLists.txt index 2dc839e..e63fd93 100644 --- a/src/vogleditor/CMakeLists.txt +++ b/src/vogleditor/CMakeLists.txt @@ -2,8 +2,9 @@ project(vogleditor) cmake_minimum_required(VERSION 2.8.9) include("${SRC_DIR}/build_options.cmake") -set (QT_QMAKE_EXECUTABLE "/usr/local/Trolltech/Qt-4.8.5/bin/qmake") find_package(Qt4 REQUIRED) +find_package(Threads REQUIRED) +find_package(X11 REQUIRED) include_directories( ${SRC_DIR} @@ -150,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()