Skip to content

Commit

Permalink
Set cmake option _VCPKG_INSTALLED_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcook committed Feb 15, 2021
1 parent 06b0ad0 commit bb55c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/scripts/python_wheel_manylinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ cmake \
-DCMAKE_UNITY_BUILD=ON \
-DOPENSSL_USE_STATIC_LIBS=ON \
-DThrift_ROOT=/opt/vcpkg/installed/x64-linux/lib \
-D_VCPKG_INSTALLED_DIR=/opt/vcpkg/installed \
-DVCPKG_MANIFEST_MODE=OFF \
-DVCPKG_TARGET_TRIPLET=x64-linux-static-${CMAKE_BUILD_TYPE} \
-G ${CMAKE_GENERATOR} \
Expand Down
1 change: 1 addition & 0 deletions ci/scripts/python_wheel_windows_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ cmake ^
-DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake ^
-DCMAKE_UNITY_BUILD=%CMAKE_UNITY_BUILD% ^
-DMSVC_LINK_VERBOSE=ON ^
-D_VCPKG_INSTALLED_DIR=C:\vcpkg\installed ^
-DVCPKG_MANIFEST_MODE=OFF ^
-DVCPKG_TARGET_TRIPLET=x64-windows-static-md-%CMAKE_BUILD_TYPE% ^
-G "%CMAKE_GENERATOR%" ^
Expand Down

0 comments on commit bb55c0d

Please sign in to comment.