mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 19:45:35 -04:00
[cmake] INCLUDE(CPUInstructionSetFlags) where necessary.
Needed as part of the previous rom-properties backport.
This commit is contained in:
parent
67de549aff
commit
425db80b54
@ -26,11 +26,9 @@ IF(NOT WIN32)
|
||||
endif()
|
||||
ELSE(NOT WIN32)
|
||||
# Use the included Win32 build of Nettle.
|
||||
INCLUDE(DirInstallPaths)
|
||||
IF(CPU_i386)
|
||||
SET(arch "i386")
|
||||
ELSEIF(CPU_amd64)
|
||||
SET(arch "amd64")
|
||||
INCLUDE(CPUInstructionSetFlags)
|
||||
IF(CPU_i386 OR CPU_amd64)
|
||||
# Supported CPU
|
||||
ELSE()
|
||||
MESSAGE(FATAL_ERROR "Unsupported CPU architecture, please fix!")
|
||||
ENDIF()
|
||||
|
@ -11,6 +11,7 @@ SET(RP_C_FLAGS_WIN32 "${RP_C_FLAGS_WIN32} -DMINGW_HAS_SECURE_API")
|
||||
# NOTE: MS_ENH_RSA_AES_PROV is only available starting with
|
||||
# Windows XP. Because we're actually using some XP-specific
|
||||
# functionality now, the minimum version is now Windows XP.
|
||||
INCLUDE(CPUInstructionSetFlags)
|
||||
IF(CPU_amd64)
|
||||
# amd64 (64-bit), Unicode Windows only.
|
||||
# (There is no amd64 ANSI Windows.)
|
||||
|
@ -26,6 +26,7 @@ ENDIF()
|
||||
# NOTE: MS_ENH_RSA_AES_PROV is only available starting with
|
||||
# Windows XP. Because we're actually using some XP-specific
|
||||
# functionality now, the minimum version is now Windows XP.
|
||||
INCLUDE(CPUInstructionSetFlags)
|
||||
IF(CPU_amd64)
|
||||
# amd64 (64-bit), Unicode Windows only. (MSVC)
|
||||
# (There is no amd64 ANSI Windows.)
|
||||
|
Loading…
Reference in New Issue
Block a user