diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-03 19:00:48 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-03 19:00:48 -0800 |
| commit | c2a368976dcd42640290a6ef30c5a4fc8a4a825d (patch) | |
| tree | f9ab145ac87ed8de668aa822b16f99560f98b6fd /scripts | |
| parent | e44aae7210a5c13e8748854dff478905c371defa (diff) | |
| download | vcpkg-c2a368976dcd42640290a6ef30c5a4fc8a4a825d.tar.gz vcpkg-c2a368976dcd42640290a6ef30c5a4fc8a4a825d.zip | |
Add policy: NoDebugBinaries
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 c03b005ea..dbc547676 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -82,6 +82,9 @@ if(CMD MATCHES "^BUILD$") if (DEFINED VCPKG_POLICY_EMPTY_PACKAGE) file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyEmptyPackage: ${VCPKG_POLICY_EMPTY_PACKAGE}\n") endif() + if (DEFINED VCPKG_POLICY_NO_DEBUG_BINARIES) + file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyNoDebugBinaries: ${VCPKG_POLICY_NO_DEBUG_BINARIES}\n") + endif() elseif(CMD MATCHES "^CREATE$") file(TO_NATIVE_PATH ${VCPKG_ROOT_DIR} NATIVE_VCPKG_ROOT_DIR) file(TO_NATIVE_PATH ${DOWNLOADS} NATIVE_DOWNLOADS) |
