diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 2ed4b85f820d0fcef0c53fbf0e06c728b9d3db4c..5d3ac5ed2b49b911de28c0d91df9b4488d5a00df 100755 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -58,6 +58,9 @@ if(WIN32) src/win32/*.c ../3rdparty/strptime.c ) + + set_source_files_properties(../3rdparty/strptime PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations) + endif() add_library(${PROJECT_NAME} STATIC ${CORE_SRCS} ${CORE_HEADERS})