Skip to content

Commit

Permalink
FMT_CPP11_IO_H -> FMT_CPP11_UNISTD_H and enable all build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed May 12, 2015
1 parent e17b743 commit 640445f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ if (HAVE_STD_CPP11_FLAG)
# It may not in MinGW due to bug http://sourceforge.net/p/mingw/bugs/2024/.
check_cxx_source_compiles("
#include <unistd.h>
int main() {}" FMT_CPP11_IO_H)
if (FMT_CPP11_CMATH AND FMT_CPP11_IO_H)
int main() {}" FMT_CPP11_UNISTD_H)
if (FMT_CPP11_CMATH AND FMT_CPP11_UNISTD_H)
set(CPP11_FLAG -std=c++11)
endif ()
set(CMAKE_REQUIRED_FLAGS )
Expand Down
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
environment:
CTEST_OUTPUT_ON_FAILURE: 1
matrix:
# - BUILD: msvc
# CONFIG: Debug
# - BUILD: msvc
# CONFIG: Release
- BUILD: msvc
CONFIG: Debug
- BUILD: msvc
CONFIG: Release
- BUILD: mingw
CONFIG: Debug
# - BUILD: mingw
# CONFIG: Release
- BUILD: mingw
CONFIG: Release

build_script:
- python support/appveyor-build.py
Expand Down

0 comments on commit 640445f

Please sign in to comment.