Skip to content

Commit d306b83

Browse files
committed
this doesnt work
1 parent 626f927 commit d306b83

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ if(DEFINED ENV{GITHUB_ACTIONS})
7070
execute_process(COMMAND brew install re2)
7171
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
7272
set(VCPKG_DIR "${CMAKE_BINARY_DIR}/vcpkg")
73+
set(ENV{VCPKG_DISABLE_METRICS} "yes")
7374
set(ENV{VCPKG_ROOT} "${VCPKG_DIR}")
7475
execute_process(COMMAND git clone --depth 1 https://github.com/microsoft/vcpkg.git "${VCPKG_DIR}" RESULT_VARIABLE GIT_CLONE_RESULT)
7576
if(NOT GIT_CLONE_RESULT EQUAL 0)
@@ -79,10 +80,6 @@ if(DEFINED ENV{GITHUB_ACTIONS})
7980
if(NOT BOOTSTRAP_RESULT EQUAL 0)
8081
message(FATAL_ERROR "Failed to bootstrap vcpkg")
8182
endif()
82-
execute_process(COMMAND "${VCPKG_DIR}/vcpkg.exe" integrate install WORKING_DIRECTORY "${VCPKG_DIR}" RESULT_VARIABLE INTEGRATE_INSTALL_RESULT)
83-
if(NOT INTEGRATE_INSTALL_RESULT EQUAL 0)
84-
message(FATAL_ERROR "Failed to integrate vcpkg")
85-
endif()
8683
set(ENV{VCPKG_BUILD_TYPE} "release")
8784
execute_process(COMMAND "${VCPKG_DIR}/vcpkg.exe" install re2 WORKING_DIRECTORY "${VCPKG_DIR}" RESULT_VARIABLE VCPKG_INSTALL_RE2_RESULT)
8885
if(NOT VCPKG_INSTALL_RE2_RESULT EQUAL 0)

0 commit comments

Comments
 (0)