mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Disable "secure" warnings.
This commit is contained in:
parent
a52ae287f1
commit
f925daa0fe
@ -48,8 +48,8 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp)
|
|||||||
|
|
||||||
add_executable(tinyformat_speed_test tinyformat/tinyformat_test.cpp)
|
add_executable(tinyformat_speed_test tinyformat/tinyformat_test.cpp)
|
||||||
target_link_libraries(tinyformat_speed_test format)
|
target_link_libraries(tinyformat_speed_test format)
|
||||||
set_target_properties(tinyformat_speed_test
|
set_target_properties(tinyformat_speed_test PROPERTIES COMPILE_DEFINITIONS
|
||||||
PROPERTIES COMPILE_DEFINITIONS "SPEED_TEST;HAVE_FORMAT")
|
"SPEED_TEST;HAVE_FORMAT;_SCL_SECURE_NO_WARNINGS")
|
||||||
|
|
||||||
add_custom_target(speed_test
|
add_custom_target(speed_test
|
||||||
COMMAND @echo running speed tests...
|
COMMAND @echo running speed tests...
|
||||||
|
Loading…
Reference in New Issue
Block a user