mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(IOS)
|
|
||||||
add_definitions(-DHAVE_SYSCTLBYNAME)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(FindThreads)
|
include(FindThreads)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
@ -154,10 +154,8 @@ endif()
|
|||||||
target_include_directories(cpu_features
|
target_include_directories(cpu_features
|
||||||
PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/cpu_features>
|
PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/cpu_features>
|
||||||
)
|
)
|
||||||
if(PROCESSOR_IS_X86)
|
if(APPLE)
|
||||||
if(APPLE)
|
target_compile_definitions(cpu_features PRIVATE HAVE_SYSCTLBYNAME)
|
||||||
target_compile_definitions(cpu_features PRIVATE HAVE_SYSCTLBYNAME)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
add_library(CpuFeature::cpu_features ALIAS cpu_features)
|
add_library(CpuFeature::cpu_features ALIAS cpu_features)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user