FMT_CPP11_IO_H -> FMT_CPP11_UNISTD_H and enable all build configs

This commit is contained in:
vitaut 2015-05-11 19:48:30 -07:00
parent e17b743141
commit 640445fc48
2 changed files with 8 additions and 8 deletions

View File

@ -31,8 +31,8 @@ if (HAVE_STD_CPP11_FLAG)
# It may not in MinGW due to bug http://sourceforge.net/p/mingw/bugs/2024/. # It may not in MinGW due to bug http://sourceforge.net/p/mingw/bugs/2024/.
check_cxx_source_compiles(" check_cxx_source_compiles("
#include <unistd.h> #include <unistd.h>
int main() {}" FMT_CPP11_IO_H) int main() {}" FMT_CPP11_UNISTD_H)
if (FMT_CPP11_CMATH AND FMT_CPP11_IO_H) if (FMT_CPP11_CMATH AND FMT_CPP11_UNISTD_H)
set(CPP11_FLAG -std=c++11) set(CPP11_FLAG -std=c++11)
endif () endif ()
set(CMAKE_REQUIRED_FLAGS ) set(CMAKE_REQUIRED_FLAGS )

View File

@ -1,14 +1,14 @@
environment: environment:
CTEST_OUTPUT_ON_FAILURE: 1 CTEST_OUTPUT_ON_FAILURE: 1
matrix: matrix:
# - BUILD: msvc - BUILD: msvc
# CONFIG: Debug CONFIG: Debug
# - BUILD: msvc - BUILD: msvc
# CONFIG: Release CONFIG: Release
- BUILD: mingw - BUILD: mingw
CONFIG: Debug CONFIG: Debug
# - BUILD: mingw - BUILD: mingw
# CONFIG: Release CONFIG: Release
build_script: build_script:
- python support/appveyor-build.py - python support/appveyor-build.py