Commit f925daa0 authored by Victor Zverovich's avatar Victor Zverovich

Disable "secure" warnings.

parent a52ae287
...@@ -48,8 +48,8 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp) ...@@ -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...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment