diff options
| author | Alexander Neumann <alexander.neumann@hamburg.de> | 2020-02-04 10:58:38 +0100 |
|---|---|---|
| committer | Alexander Neumann <alexander.neumann@hamburg.de> | 2020-02-04 10:58:38 +0100 |
| commit | bd8c07217a27bcf357a393c891b756d3f54c3623 (patch) | |
| tree | 4489408cabd6726735879f8b59a3fd7af10f68a2 /scripts | |
| parent | 85bf9d9d792e379e973d66c8af9f39d65d1d6d42 (diff) | |
| download | vcpkg-bd8c07217a27bcf357a393c891b756d3f54c3623.tar.gz vcpkg-bd8c07217a27bcf357a393c891b756d3f54c3623.zip | |
[vcpkg] Add skip dumpbin checks
and correct some cmake advices.
Paths should always be handled with "${PATH}" due to possible spaces
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 20e59a184..9681427d7 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -114,6 +114,9 @@ if(CMD MATCHES "^BUILD$") if (DEFINED VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS) file(APPEND ${BUILD_INFO_FILE_PATH} "PolicyAllowRestrictedHeaders: ${VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS}\n") endif() + if (DEFINED VCPKG_POLICY_SKIP_DUMPBIN_CHECKS) + file(APPEND ${BUILD_INFO_FILE_PATH} "PolicySkipDumpbinChecks: ${VCPKG_POLICY_SKIP_DUMPBIN_CHECKS}\n") + endif() if (DEFINED VCPKG_HEAD_VERSION) file(APPEND ${BUILD_INFO_FILE_PATH} "Version: ${VCPKG_HEAD_VERSION}\n") endif() |
