How to use vcpkg in Android studio? #43029
-
I use this CMakeLists.txt in my project. set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake)
but android studio maybe not to find vcpkg library.find_package failed. And then,vcpkg export android prefab not work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I can't say much about android prefab and Android Studio. In general, if not using presets or other configuration input, |
Beta Was this translation helpful? Give feedback.
I can't say much about android prefab and Android Studio.
In general, if not using presets or other configuration input,
ANDROID
andANDROID_ABI
are not defined beforeproject
.With
VCPKG_TARGET_TRIPLET
defined in advance, the vcpkg cmake toolchain file will take care of chainloading vcpkg's android toolchain, which in turn will set the variables that describe the target system.