Skip to content

Commit

Permalink
.travis.yml: properly pass $ARCH_FLAGS
Browse files Browse the repository at this point in the history
RapidJSON is C++, need to set CMAKE_CXX_FLAGS instead
of CMAKE_C_FLAGS when configuring the build environment.
  • Loading branch information
pah committed Mar 10, 2015
1 parent 66a2ccd commit 2b56546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before_script:
-DRAPIDJSON_HAS_STDSTRING=ON
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=$CONF
-DCMAKE_C_FLAGS="$ARCH_FLAGS" ..)
-DCMAKE_CXX_FLAGS="$ARCH_FLAGS" ..)
script:
- cd build
Expand Down

0 comments on commit 2b56546

Please sign in to comment.