1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Do not treat warnings as errors for fuzzylite

This commit is contained in:
Victor Luchits 2017-07-02 02:02:21 +03:00 committed by Arseniy Shestakov
parent 271fcb746d
commit 30643feb66

View File

@ -94,7 +94,8 @@ if(UNIX AND NOT APPLE)
endif()
if(MSVC)
set(CMAKE_CXX_FLAGS "/WX /W4 /EHsc")
set(CMAKE_CXX_FLAGS "/W4 /EHsc")
#set(CMAKE_CXX_FLAGS "/WX /W4 /EHsc")
#Wx: Treat warnings as errors. W4: All warnings
#http://msdn.microsoft.com/en-us/library/thxezb7y.aspx
#EHsc: call destructors on __try __catch, and to ignore C4530: C++ exception handler used. Note, unwind semantics are not enabled