compile pdjson as C++; disarm some windows warnings

This commit is contained in:
Alex Fabijanic
2017-09-27 11:51:43 -05:00
parent 6bcd362c74
commit 1054c46f6c
3 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
set(LIBNAME "CppUnit")
# Sources
if (WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif (WIN32)
file(GLOB SRCS_G "src/*.cpp")
POCO_SOURCES_AUTO( SRCS ${SRCS_G})