Skip to content

Commit

Permalink
[vcpkg] Add debug_message to vcpkg_configure_meson.cmake (microsoft#1…
Browse files Browse the repository at this point in the history
…8207)

* Add debug_message to vcpkg_configure_meson.cmake

* Update vcpkg_configure_meson.cmake

* Update vcpkg_configure_meson.cmake
  • Loading branch information
kafeg authored Jul 15, 2021
1 parent 9624235 commit c8666b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/cmake/vcpkg_configure_meson.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ function(vcpkg_internal_meson_generate_cross_file _additional_binaries) #https:/
COMMAND uname -m
OUTPUT_VARIABLE MACHINE
COMMAND_ERROR_IS_FATAL ANY)

# Show real machine architecture to visually understand whether we are in a native Apple Silicon terminal or running under Rosetta emulation
debug_message("Machine: ${MACHINE}")

if(MACHINE MATCHES "arm64")
set(BUILD_CPU_FAM aarch64)
Expand Down

0 comments on commit c8666b7

Please sign in to comment.