Skip to content

build: Replace CMAKE_SYSTEM_PROCESSOR with BUILD_ARCHITECTURE - #8524

Merged
nbolton merged 1 commit into
masterfrom
betterArchDetection
Apr 25, 2025
Merged

build: Replace CMAKE_SYSTEM_PROCESSOR with BUILD_ARCHITECTURE#8524
nbolton merged 1 commit into
masterfrom
betterArchDetection

Conversation

@sithlord48

@sithlord48 sithlord48 commented Apr 22, 2025

Copy link
Copy Markdown
Member

On windows CMAKE_SYSTEM_PROCESSOR is flawed so when possible use the vcpkg info on windows or default to x64

Adjust the vcruntime check to use the BUILD_ARCHITECTURE to check the proper version is installed for the architecture the app is build for

@sithlord48
sithlord48 requested a review from nbolton April 22, 2025 23:10
@nbolton
nbolton force-pushed the betterArchDetection branch from b96847f to 7be3bc6 Compare April 23, 2025 09:01
Comment thread CMakeLists.txt Outdated
@sithlord48
sithlord48 force-pushed the betterArchDetection branch from 7be3bc6 to c04817c Compare April 23, 2025 11:25
@sithlord48
sithlord48 requested a review from nbolton April 23, 2025 11:25
…dows CMAKE_SYSTEM_PROCESSOR is flawed so when possible use the vcpkg info or default to x64 Adjust the vcruntime check to use the BUILD_ARCHITECTURE to check the proper version is installed for the architecture the app is build for
@sithlord48
sithlord48 force-pushed the betterArchDetection branch from c04817c to 7f0d792 Compare April 23, 2025 11:50
@nbolton
nbolton merged commit 4034302 into master Apr 25, 2025
@nbolton
nbolton deleted the betterArchDetection branch April 25, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants