]> sigrok.org Git - pulseview.git/commitdiff
CMakeLists.txt: Put quotes back for CXX_FLAGS only
authorMarcus Comstedt <redacted>
Mon, 7 Jul 2014 10:26:28 +0000 (12:26 +0200)
committerMarcus Comstedt <redacted>
Mon, 7 Jul 2014 10:26:28 +0000 (12:26 +0200)
Turns out these were needed after all.

CMakeLists.txt

index 3d63ecde143f291f179054ad6e278325c66153f0..40e61e22a1f2d0c1679a4f6b63e9766499424461 100644 (file)
@@ -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})