[vcpkg] Disable all interactions with CMake registry -- we are effectively implementing our own registry and they don't nest very well at all.

Fixes #334.
This commit is contained in:
Robert Schumacher 2016-12-06 01:26:21 -08:00
parent d661c174c7
commit 5359a542a5

View File

@ -38,6 +38,9 @@ function(vcpkg_configure_cmake)
list(APPEND _csc_OPTIONS
"-DCMAKE_CXX_FLAGS= /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc"
"-DCMAKE_C_FLAGS= /DWIN32 /D_WINDOWS /W3 /utf-8"
"-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON"
"-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON"
"-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON"
)
if(DEFINED VCPKG_CRT_LINKAGE AND VCPKG_CRT_LINKAGE STREQUAL dynamic)
list(APPEND _csc_OPTIONS_DEBUG