Commit aaab95f2 authored by David E. DeMarle's avatar David E. DeMarle

silence warnings about _strdup for deprecated strdup

parent dcd4504a
......@@ -6,6 +6,10 @@ if (POLICY CMP0015)
cmake_policy(SET CMP0015 NEW)
endif ()
if(WIN32)
ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_DEPRECATE)
endif()
if(MSVC10)
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
......
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