Skip to content

Commit

Permalink
💚 fix Ubuntu build
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Dec 10, 2022
1 parent 44423b4 commit 97f88ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ci.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ add_custom_target(ci_test_diagnostics
###############################################################################

add_custom_target(ci_test_legacycomparison
COMMAND CXX=${CLANG_TOOL} ${CMAKE_COMMAND}
COMMAND ${CMAKE_COMMAND}
-DCMAKE_BUILD_TYPE=Debug -GNinja
-DJSON_BuildTests=ON -DJSON_LegacyDiscardedValueComparison=ON
-S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_legacycomparison
Expand All @@ -522,7 +522,7 @@ add_custom_target(ci_test_legacycomparison
###############################################################################

add_custom_target(ci_test_noglobaludls
COMMAND CXX=${CLANG_TOOL} ${CMAKE_COMMAND}
COMMAND ${CMAKE_COMMAND}
-DCMAKE_BUILD_TYPE=Debug -GNinja
-DJSON_BuildTests=ON -DJSON_FastTests=ON -DJSON_GlobalUDLs=OFF
-DCMAKE_CXX_FLAGS=-DJSON_TEST_NO_GLOBAL_UDLS
Expand Down

0 comments on commit 97f88ce

Please sign in to comment.