Disable treating warnings as errors when the SDK is being consumed via FolderList (#6066)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2024-10-03 20:53:07 -07:00 committed by GitHub
parent 4722e3df3c
commit 101f20f2bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,6 +66,8 @@ macro(SetCompileOptions project)
message ("setting up compile options for ${project}")
# Compile Options
SetGlobalOptions()
# When the SDK is being consumed via FolderList, an consumption mechanism alternative to vcpkg, do disable treating warnings as errors.
SET(WARNINGS_AS_ERRORS OFF)
endmacro()
macro(DownloadDepVersion DEP_FOLDER DEP_NAME DEP_VERSION)