summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ames <alexander.ames@gmail.com>2017-10-20 16:29:51 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2017-10-20 16:29:51 -0700
commitf2627e16acb198212fa808ed994a82dc8e119cd1 (patch)
treea6ab456fe99de330d7d0b7edf149b6d916537022
parent01bac38c84fe8511042eb0775c6135b7429a0269 (diff)
downloadflatbuffers-f2627e16acb198212fa808ed994a82dc8e119cd1.tar.gz
flatbuffers-f2627e16acb198212fa808ed994a82dc8e119cd1.tar.bz2
flatbuffers-f2627e16acb198212fa808ed994a82dc8e119cd1.zip
Fixed CMake build issue when building with Clang. (#4465)
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9ba5288..a4cccae9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -131,8 +131,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX)
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
set(CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -pedantic -Werror \
- -Wextra -Wno-unused-parameter")
+ "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -pedantic -Werror -Wextra -Wno-unused-parameter")
if(NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -stdlib=libc++")