X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fvogleditor%2FCMakeLists.txt;h=093ceea89860abe668f0985addf2e6e3f72dbb81;hb=2762424cacca0e8e4c9cfcf4b13b89537b7f24aa;hp=bf2c3c66e3c0f2539db3c1cba96bc7c266d345d5;hpb=c3e6b8e41e67b2faf4475dc8f0ba2633f24b2b2f;p=vogl diff --git a/src/vogleditor/CMakeLists.txt b/src/vogleditor/CMakeLists.txt index bf2c3c6..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,11 +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 - dl + ${CMAKE_DL_LIBS} ) build_options_finalize()