diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-22 22:00:02 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-22 22:00:02 -0700 |
| commit | 70429b207dbdf8b2f0c9b71372d3d121acd9ba51 (patch) | |
| tree | c1ea33b40dfa2895b7965ce6b2230eff952446cb /scripts | |
| parent | f9d0ee313c815f7d2b322f0c68d20b539465ce38 (diff) | |
| download | vcpkg-70429b207dbdf8b2f0c9b71372d3d121acd9ba51.tar.gz vcpkg-70429b207dbdf8b2f0c9b71372d3d121acd9ba51.zip | |
[vcpkg] Enable VCPKG_POLICY_ALLOW_OBSOLETE_MSVCRT
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/ports.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ports.cmake b/scripts/ports.cmake index 9558ac2dc..1d699a966 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -85,6 +85,9 @@ if(CMD MATCHES "^BUILD$") if (DEFINED VCPKG_POLICY_ONLY_RELEASE_CRT) file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyOnlyReleaseCRT: ${VCPKG_POLICY_ONLY_RELEASE_CRT}\n") endif() + if (DEFINED VCPKG_POLICY_ALLOW_OBSOLETE_MSVCRT) + file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyAllowObsoleteMsvcrt: ${VCPKG_POLICY_ALLOW_OBSOLETE_MSVCRT}\n") + endif() if (DEFINED VCPKG_POLICY_EMPTY_INCLUDE_FOLDER) file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyEmptyIncludeFolder: ${VCPKG_POLICY_EMPTY_INCLUDE_FOLDER}\n") endif() |
