From: Marcus Comstedt Date: Tue, 10 Jun 2014 13:35:38 +0000 (+0200) Subject: CMakeLists.txt: Drop quotes causing invalid include paths for Qt5 X-Git-Tag: pulseview-0.3.0~588 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ea370bc6fc5d595130f2e49a5abff539b96984bb;p=pulseview.git CMakeLists.txt: Drop quotes causing invalid include paths for Qt5 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f8dd6783..0cc8fbd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,8 +77,8 @@ if(Qt5Core_FOUND) message("-- Using Qt5") find_package(Qt5Widgets REQUIRED) find_package(Qt5Gui REQUIRED) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") - set(QT_INCLUDE_DIRS "${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS}") + set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}) + set(QT_INCLUDE_DIRS ${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS}) set(QT_LIBRARIES Qt5::Gui Qt5::Widgets) add_definitions(${Qt5Gui_DEFINITIONS} ${Qt5Widgets_DEFINITIONS}) else()