Skip to content

Commit

Permalink
fix windows build args
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Dec 26, 2024
1 parent 359306e commit a8e4294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/cxx-macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a8e4294

Please sign in to comment.