Added "" around the CMAKE_CXX_FLAGS setting to fix build error

This commit is contained in:
Robert Osfield 2016-06-04 18:36:36 +01:00
parent 7dbb4b8c5f
commit c3f55ad1d8

View File

@ -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()
#