Disable "secure" warnings.

This commit is contained in:
Victor Zverovich 2012-12-21 16:07:33 -08:00
parent a52ae287f1
commit f925daa0fe

View File

@ -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...