CMAKE: fixed path for bin artifacts for 32bits (#890)

This commit is contained in:
Ilya Lavrenov
2020-06-17 14:41:16 +03:00
committed by GitHub
parent c02ed9e0a8
commit 7861b67203

View File

@@ -122,9 +122,9 @@ include(debug)
include(whole_archive)
string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} ARCH_FOLDER)
if(ARCH_FOLDER STREQUAL "x86_64" OR ARCH_FOLDER STREQUAL "amd64") # Windows detects Intel's 64-bit CPU as AMD64
if(X86_64)
set(ARCH_FOLDER intel64)
elseif(ARCH_FOLDER STREQUAL "i386")
elseif(X86)
set(ARCH_FOLDER ia32)
endif()