I need to be able set VCPKG_TARGET_TRIPLET inside my CMakeLists.txt due to my setup (see my post here: Setting "-D" variables inside CMake) but I cannot get it working.
It works if I pass "x64-mingw-static" as a -D argument, but not if I set it manually. The packages are simply not found in this case.
Any thoughts?