👷 fix -DJSON_BuildTests=On parameter placement

This commit is contained in:
Niels Lohmann 2020-05-28 13:46:47 +02:00
parent 61832afe15
commit 2edb5cb999
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -323,7 +323,7 @@ script:
# compile and execute unit tests # compile and execute unit tests
- mkdir -p build && cd build - mkdir -p build && cd build
- cmake .. ${CMAKE_OPTIONS} -DJSON_MultipleHeaders=${MULTIPLE_HEADERS} -GNinja && cmake --build . --config Release -DJSON_BuildTests=On - cmake .. ${CMAKE_OPTIONS} -DJSON_MultipleHeaders=${MULTIPLE_HEADERS} -DJSON_BuildTests=On -GNinja && cmake --build . --config Release
- ctest -C Release --timeout 2700 -V -j - ctest -C Release --timeout 2700 -V -j
- cd .. - cd ..