cmake: SIZEOF_VOIDP, LIBNAME and LIBTYPE are not used

This commit is contained in:
Anonymous Maarten 2023-01-07 16:25:17 +01:00 committed by Anonymous Maarten
parent 0a4420e02f
commit 4d9ee735fd

View File

@ -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()