Skip to content

Commit 14407d4

Browse files
committed
CI: Pass flag "-DOPTIONAL_WERROR=ON" to cmake
1 parent dd77398 commit 14407d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ build_script:
66
- git submodule update --init --recursive
77
- mkdir build
88
- cd build
9-
- cmake ..
9+
- cmake -DOPTIONAL_WERROR=ON ..
1010
- cmake --build .
1111
- C:\projects\optional\build\Debug\tests.exe

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,4 @@ install:
254254
- if [ "$CXX" = "clang++" ]; then export CXX="$COMPILER -stdlib=libc++"; fi
255255
- if [ "$CXX" = "g++" ]; then export CXX="$COMPILER"; fi
256256

257-
script: mkdir build && cd build && cmake -DCXXSTD=$CXXSTD .. && make && ./tests
257+
script: mkdir build && cd build && cmake -DCXXSTD=$CXXSTD -DOPTIONAL_WERROR=ON .. && make && ./tests

0 commit comments

Comments
 (0)