From ff1d77ead9a651d9e2a1ebeedeb1d83a6c35f56b Mon Sep 17 00:00:00 2001 From: Furkan Usta Date: Sat, 2 May 2020 15:32:43 +0300 Subject: [PATCH] Add NOMINMAX to parsingchecks --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f83b8013..5a5a78f8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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)