cmake: SIZEOF_VOIDP, LIBNAME and LIBTYPE are not used
parent
0a4420e02f
commit
4d9ee735fd
|
@ -119,7 +119,6 @@ check_cpu_architecture(arm64 SDL_CPU_ARM64)
|
||||||
check_cpu_architecture(loongarch64 SDL_CPU_LOONGARCH64)
|
check_cpu_architecture(loongarch64 SDL_CPU_LOONGARCH64)
|
||||||
|
|
||||||
# Check for 64 or 32 bit
|
# Check for 64 or 32 bit
|
||||||
set(SIZEOF_VOIDP ${CMAKE_SIZEOF_VOID_P})
|
|
||||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
set(ARCH_64 TRUE)
|
set(ARCH_64 TRUE)
|
||||||
set(PROCESSOR_ARCH "x64")
|
set(PROCESSOR_ARCH "x64")
|
||||||
|
@ -127,10 +126,6 @@ else()
|
||||||
set(ARCH_64 FALSE)
|
set(ARCH_64 FALSE)
|
||||||
set(PROCESSOR_ARCH "x86")
|
set(PROCESSOR_ARCH "x86")
|
||||||
endif()
|
endif()
|
||||||
set(LIBNAME SDL3)
|
|
||||||
if(NOT LIBTYPE)
|
|
||||||
set(LIBTYPE SHARED)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Get the platform
|
# Get the platform
|
||||||
SDL_DetectCMakePlatform()
|
SDL_DetectCMakePlatform()
|
||||||
|
|
Loading…
Reference in New Issue