mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
fdac1fc5aa
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3. ./bootstrap-vcpkg.sh ./vcpkg install boost
10 lines
302 B
CMake
10 lines
302 B
CMake
set(VCPKG_TARGET_ARCHITECTURE arm64)
|
|
set(VCPKG_CRT_LINKAGE dynamic)
|
|
set(VCPKG_LIBRARY_LINKAGE static)
|
|
|
|
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
|
|
|
|
if(NOT CMAKE_HOST_SYSTEM_PROCESSOR)
|
|
execute_process(COMMAND "uname" "-m" OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
endif()
|