mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-22 21:09:52 +00:00
Move the HAVE_SYSCTLBYNAME definition out of X86, remove the previous workaround
This commit is contained in:
parent
7941753105
commit
416f4239e1
@ -272,10 +272,6 @@ if(MACOSX AND NOT IOS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(IOS)
|
||||
add_definitions(-DHAVE_SYSCTLBYNAME)
|
||||
endif()
|
||||
|
||||
include(FindThreads)
|
||||
|
||||
if(APPLE)
|
||||
|
@ -154,10 +154,8 @@ endif()
|
||||
target_include_directories(cpu_features
|
||||
PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/cpu_features>
|
||||
)
|
||||
if(PROCESSOR_IS_X86)
|
||||
if(APPLE)
|
||||
target_compile_definitions(cpu_features PRIVATE HAVE_SYSCTLBYNAME)
|
||||
endif()
|
||||
if(APPLE)
|
||||
target_compile_definitions(cpu_features PRIVATE HAVE_SYSCTLBYNAME)
|
||||
endif()
|
||||
add_library(CpuFeature::cpu_features ALIAS cpu_features)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user