From a8e4294e03648c29c589fb420c3c2c6ed668ace5 Mon Sep 17 00:00:00 2001 From: hz Date: Thu, 26 Dec 2024 14:43:44 +0800 Subject: [PATCH] fix windows build args --- cmake/cxx-macros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cxx-macros.cmake b/cmake/cxx-macros.cmake index a85499e..6f69c5b 100644 --- a/cmake/cxx-macros.cmake +++ b/cmake/cxx-macros.cmake @@ -625,7 +625,7 @@ macro(define_cxx_library_project name) # target_link_libraries(proj_cxx INTERFACE debug_assert) if(MSVC) target_compile_options(${PROJ_NAME} INTERFACE /wd4800 # truncation to bool warning - /Zc:__cplusplus + /Zc:__cplusplus /D_CRT_SECURE_NO_WARNINGS=1 # /D${PROJ_PREFIX}_UNIT_TEST=${_${PROJ_NAME}_unit_test} ) else(MSVC)