From f2627e16acb198212fa808ed994a82dc8e119cd1 Mon Sep 17 00:00:00 2001 From: Alex Ames Date: Fri, 20 Oct 2017 16:29:51 -0700 Subject: [PATCH] Fixed CMake build issue when building with Clang. (#4465) --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9ba5288a..a4cccae98 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++")