Add NOMINMAX to parsingchecks

This commit is contained in:
Furkan Usta 2020-05-02 15:32:43 +03:00
parent 977e1a94b2
commit ff1d77ead9
1 changed files with 2 additions and 0 deletions

View File

@ -44,8 +44,10 @@ include(${PROJECT_SOURCE_DIR}/tests/add_cpp_test.cmake)
#
add_cpp_test(numberparsingcheck LABELS acceptance per_implementation)
target_link_libraries(numberparsingcheck simdjson-include-source simdjson-windows-headers)
target_compile_definitions(numberparsingcheck PRIVATE NOMINMAX)
add_cpp_test(stringparsingcheck LABELS acceptance per_implementation)
target_link_libraries(stringparsingcheck simdjson-include-source simdjson-windows-headers)
target_compile_definitions(stringparsingcheck PRIVATE NOMINMAX)
# All remaining tests link with simdjson proper
link_libraries(simdjson)