From: Marcus Comstedt Date: Mon, 7 Jul 2014 10:26:28 +0000 (+0200) Subject: CMakeLists.txt: Put quotes back for CXX_FLAGS only X-Git-Tag: pulseview-0.3.0~580 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1cd4be221d31680c42c4385e6861e1cf3afafa6a;p=pulseview.git CMakeLists.txt: Put quotes back for CXX_FLAGS only Turns out these were needed after all. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d63ecde..40e61e22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ 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(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})