From 55f667ce6457328369be404a6c1de0f5d7189ecb Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 12 Mar 2014 04:11:34 +0000 Subject: [PATCH] build: remove unnecessary modification of CMAKE_REQUIRED_DEFINITIONS This is unnecessary now that the flag handling has been fixed. The flags will be added properly in the main CMakeLists.txt after the config-ix inclusion which performs the required check. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@203639 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/config-ix.cmake | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index f0219c09..e8adafd6 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -30,11 +30,3 @@ check_library_exists(m ccos "" LIBCXX_HAS_M_LIB) check_library_exists(rt clock_gettime "" LIBCXX_HAS_RT_LIB) check_library_exists(gcc_s __gcc_personality_v0 "" LIBCXX_HAS_GCC_S_LIB) -# Check C++0x features -if (LIBCXX_ENABLE_CXX0X) - if (LIBCXX_HAS_STDCXX0X_FLAG) - set(CMAKE_REQUIRED_DEFINITIONS -std=c++0x) - endif() -else() - set(LIBCXX_HAS_STDCXX0X_FLAG FALSE) -endif()