Skip to content

Commit 730d20c

Browse files
rkscodesmvieth
andauthored
Triplet vcpkg build instruction update (#5656)
* updated VCPKG tutorial for #5631 * Added the suggested changes * Fix typo --------- Co-authored-by: Markus Vieth <39675748+mvieth@users.noreply.github.com>
1 parent 2e33d50 commit 730d20c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/tutorials/content/pcl_vcpkg_windows.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@ will install PCL with default options as well as default triplet type (ie. x86).
7474

7575
./vcpkg install pcl
7676

77+
.. note::
78+
This will build executables 2 times in release mode, as default host triplet is x64-windows
79+
on most modern PC systems, but vcpkg install x86 by default. So to fix it you can set
80+
host-triplet same as default triplet.
81+
82+
./vcpkg install pcl --host-triplet x86-windows
83+
84+
Or, you can use same custom triplet for both --triplet and --host-triplet
85+
86+
./vcpkg install pcl --triplet <same_custom_triplet_type> --host-triplet <same_custom_triplet_type>
7787

7888
.. note::
7989

0 commit comments

Comments
 (0)