diff --git a/lib/assigner/test/CMakeLists.txt b/lib/assigner/test/CMakeLists.txt index 0073c80..1c0d51a 100644 --- a/lib/assigner/test/CMakeLists.txt +++ b/lib/assigner/test/CMakeLists.txt @@ -5,6 +5,12 @@ find_package(GTest CONFIG REQUIRED) add_executable(assigner_tests assigner_test.cpp) +if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + target_compile_options(assigner_tests PRIVATE "-fconstexpr-steps=2147483647") +elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + target_compile_options(assigner_tests PRIVATE "-fconstexpr-ops-limit=4294967295") +endif() + target_include_directories(assigner_tests PRIVATE $)