From 299c7c730ca759ef3dee365a2ecd7c3dd39db8a6 Mon Sep 17 00:00:00 2001 From: martin-s Date: Tue, 14 Jan 2020 00:31:58 +0000 Subject: Introduce new policy to skip post verification of dll exports (#9642) * - Introduce new policy to skip post verification of dll exports (see issue #9641). * - Fixed line endings. --- scripts/ports.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/ports.cmake b/scripts/ports.cmake index cdc0bdd99..1aea1ffa3 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -100,6 +100,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_DLLS_WITHOUT_EXPORTS) + file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyDLLsWithoutExports: ${VCPKG_POLICY_DLLS_WITHOUT_EXPORTS}\n") + endif() if (DEFINED VCPKG_POLICY_EMPTY_PACKAGE) file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyEmptyPackage: ${VCPKG_POLICY_EMPTY_PACKAGE}\n") endif() -- cgit v1.2.3