mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-27 12:00:35 +00:00
cmake: SIZEOF_VOIDP, LIBNAME and LIBTYPE are not used
This commit is contained in:
parent
0a4420e02f
commit
4d9ee735fd
@ -119,7 +119,6 @@ check_cpu_architecture(arm64 SDL_CPU_ARM64)
|
||||
check_cpu_architecture(loongarch64 SDL_CPU_LOONGARCH64)
|
||||
|
||||
# Check for 64 or 32 bit
|
||||
set(SIZEOF_VOIDP ${CMAKE_SIZEOF_VOID_P})
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(ARCH_64 TRUE)
|
||||
set(PROCESSOR_ARCH "x64")
|
||||
@ -127,10 +126,6 @@ else()
|
||||
set(ARCH_64 FALSE)
|
||||
set(PROCESSOR_ARCH "x86")
|
||||
endif()
|
||||
set(LIBNAME SDL3)
|
||||
if(NOT LIBTYPE)
|
||||
set(LIBTYPE SHARED)
|
||||
endif()
|
||||
|
||||
# Get the platform
|
||||
SDL_DetectCMakePlatform()
|
||||
|
Loading…
Reference in New Issue
Block a user