diff --git a/CMakeLists.txt b/CMakeLists.txt index b00f759..7f6c77b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ # Project setup ######################################################################## cmake_minimum_required(VERSION 2.6) -project(gr-gr-air-modes CXX) +project(gr-air-modes CXX) enable_testing() #select the release build type by default to get optimization flags diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt index c0d7672..20213f1 100644 --- a/res/CMakeLists.txt +++ b/res/CMakeLists.txt @@ -31,6 +31,12 @@ if(NOT PYQT4_FOUND) return() endif() +find_package(Qwt) +if(NOT QWT_FOUND) + message(STATUS "Qwt not found, not installing GUI application") + return() +endif() + set(PYUIC4_COMPILE pyuic4) set(RX_UI_SRC ${CMAKE_CURRENT_SOURCE_DIR}/modes_rx.ui)