mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-13 20:48:42 +01:00
ebb2b22864
see c3f55ad1d8
14 lines
534 B
Diff
14 lines
534 B
Diff
diff --git a/src/osgPlugins/cfg/CMakeLists.txt b/src/osgPlugins/cfg/CMakeLists.txt
|
|
index 972675f..4f7062b 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()
|
|
|
|
#
|