diff --git a/CMakeLists.txt b/CMakeLists.txt index 53b6169..ed683ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,6 +193,13 @@ if (NOT TEQP_NO_TEQPCPP) target_compile_definitions(teqpcpp PUBLIC -DTEQP_MULTIPRECISION_ENABLED) + if (WIN32) + target_compile_options(teqpcpp PUBLIC + $<$,$,$>: + -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-parentheses -Wno-c++98-compat -Wno-c++98-compat-pedantic> + $<$:>) + endif() + # target_compile_options(teqpcpp PRIVATE # $<$,$,$>: # -Wall -Wno-c++98-compat -Wno-c++98-compat-pedantic>