X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fvogleditor%2FCMakeLists.txt;h=093ceea89860abe668f0985addf2e6e3f72dbb81;hb=2762424cacca0e8e4c9cfcf4b13b89537b7f24aa;hp=2dc839e284e345357b9dacd9618c8a1dd808c93b;hpb=9bf37d3d589b8a8b92345872a48bcb5669fcdc48;p=vogl diff --git a/src/vogleditor/CMakeLists.txt b/src/vogleditor/CMakeLists.txt index 2dc839e..093ceea 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,13 @@ target_link_libraries(${PROJECT_NAME} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${TELEMETRY_LIBRARY} + ${CMAKE_THREAD_LIBS_INIT} + ${X11_X11_LIB} backtrace voglcommon voglcore + X11 + ${CMAKE_DL_LIBS} ) build_options_finalize()