From c3f55ad1d8d783993b639f5f4fe5a34030886948 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 4 Jun 2016 18:36:36 +0100 Subject: [PATCH] Added "" around the CMAKE_CXX_FLAGS setting to fix build error --- src/osgPlugins/cfg/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/cfg/CMakeLists.txt b/src/osgPlugins/cfg/CMakeLists.txt index 972675ffc..4f7062ba9 100644 --- a/src/osgPlugins/cfg/CMakeLists.txt +++ b/src/osgPlugins/cfg/CMakeLists.txt @@ -20,7 +20,7 @@ SET(TARGET_H # lex/yacc generated files use register that causes warnings with CLang under OSX so disable this warnings. IF(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") - SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -Wno-deprecated-register) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-register") ENDIF() #