diff --git a/CMakeLists.txt b/CMakeLists.txt index 78227137..c51acd63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,9 +29,8 @@ if (HAVE_STD_CPP11_FLAG) int main() {}" FMT_CPP11_CMATH) if (FMT_CPP11_CMATH) set(CPP11_FLAG -std=c++11) - else () - set(CMAKE_REQUIRED_FLAGS "") endif () + set(CMAKE_REQUIRED_FLAGS ) else () check_cxx_compiler_flag(-std=c++0x HAVE_STD_CPP0X_FLAG) if (HAVE_STD_CPP0X_FLAG) @@ -66,7 +65,6 @@ if (WIN32) else () check_symbol_exists(open fcntl.h HAVE_OPEN) endif () -message("HAVE_OPEN: ${HAVE_OPEN}") if (HAVE_OPEN) add_definitions(-DFMT_USE_FILE_DESCRIPTORS=1) set(FMT_SOURCES ${FMT_SOURCES} posix.cc posix.h)