aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-07 17:02:57 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-07 17:02:57 -0800
commitf9616c6994ccf66e2a64e2d62e6a1408694c190c (patch)
tree4bbaf20b8d240eac22d2269d78ae64687d991dca /scripts
parent8d5cbff2954a425731057a206a8e769a5bc53e16 (diff)
downloadvcpkg-f9616c6994ccf66e2a64e2d62e6a1408694c190c.tar.gz
vcpkg-f9616c6994ccf66e2a64e2d62e6a1408694c190c.zip
Add new Policy: Empty Package
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ports.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ports.cmake b/scripts/ports.cmake
index cc01a0619..c03b005ea 100644
--- a/scripts/ports.cmake
+++ b/scripts/ports.cmake
@@ -79,6 +79,9 @@ if(CMD MATCHES "^BUILD$")
if (DEFINED VCPKG_POLICY_DLLS_WITHOUT_LIBS)
file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyDLLsWithoutLIBs: ${VCPKG_POLICY_DLLS_WITHOUT_LIBS}\n")
endif()
+ if (DEFINED VCPKG_POLICY_EMPTY_PACKAGE)
+ file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyEmptyPackage: ${VCPKG_POLICY_EMPTY_PACKAGE}\n")
+ endif()
elseif(CMD MATCHES "^CREATE$")
file(TO_NATIVE_PATH ${VCPKG_ROOT_DIR} NATIVE_VCPKG_ROOT_DIR)
file(TO_NATIVE_PATH ${DOWNLOADS} NATIVE_DOWNLOADS)