diff options
-rw-r--r-- | dep/protobuf/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/protobuf/CMakeLists.txt b/dep/protobuf/CMakeLists.txt index a530cedc970..1f65931d27b 100644 --- a/dep/protobuf/CMakeLists.txt +++ b/dep/protobuf/CMakeLists.txt @@ -60,8 +60,8 @@ endif() if (UNIX) # Enable the default unix export behaviour for protobuf so we don't # need to patch it's sources. - string(REPLACE "-fvisibility=hidden" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS}) - string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) + string(REPLACE "-fvisibility=hidden" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") + string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") endif() add_library(protobuf ${protobuf_STAT_SRCS}) |