X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=4644dc8355471cef2136d62eb80865884762e7c4;hp=3b2df47b4b914786582847aa5cb3ef09e1277fb5;hb=438440ea9d4631a18b5fa95b0aefec9894c39c9b;hpb=2953961c06ff9e758035ba3cd67220568bd01710 diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b2df47b..4644dc83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,14 +10,21 @@ pkg_check_modules(PKGDEPS REQUIRED ) find_package(Qt4 REQUIRED) +find_package(Boost 1.46 REQUIRED) set(VERSION 0.1.0) set(sigrok-qt2_SOURCES about.cpp + datasnapshot.cpp + logicdata.cpp + logicdatasnapshot.cpp + logicsignal.cpp main.cpp mainwindow.cpp + signaldata.cpp sigsession.cpp + signal.cpp sigview.cpp ) @@ -50,10 +57,12 @@ add_definitions(-DAPP_VERSION="${VERSION}") include_directories( ${include_directories} + ${Boost_INCLUDE_DIRS} ${PKGDEPS_INCLUDE_DIRS} ) link_directories( + ${Boost_LIBRARY_DIRS} ${PKGDEPS_LIBRARY_DIRS} ) @@ -65,6 +74,7 @@ add_executable(sigrok-qt2 ) target_link_libraries(sigrok-qt2 + ${Boost_LIBRARIES} ${PKGDEPS_LIBRARIES} ${QT_LIBRARIES} )