Lines 96-112
if(NOT DEFINED CMAKE_CXX_STANDARD AND NOT CMake_NO_CXX_STANDARD)
Link Here
|
96 |
endif() |
96 |
endif() |
97 |
endif() |
97 |
endif() |
98 |
endif() |
98 |
endif() |
99 |
if(NOT CMake_TEST_EXTERNAL_CMAKE) |
|
|
100 |
# include special compile flags for some compilers |
101 |
include(CompileFlags.cmake) |
102 |
|
103 |
# check for available C++ features |
104 |
include(${CMake_SOURCE_DIR}/Source/Checks/cm_cxx_features.cmake) |
105 |
|
99 |
|
106 |
if(NOT CMake_HAVE_CXX_UNIQUE_PTR) |
|
|
107 |
message(FATAL_ERROR "The C++ compiler does not support C++11 (e.g. std::unique_ptr).") |
108 |
endif() |
109 |
endif() |
110 |
|
100 |
|
111 |
# Inform STL library header wrappers whether to use system versions. |
101 |
# Inform STL library header wrappers whether to use system versions. |
112 |
configure_file(${CMake_SOURCE_DIR}/Utilities/std/cmSTL.hxx.in |
102 |
configure_file(${CMake_SOURCE_DIR}/Utilities/std/cmSTL.hxx.in |