change UNIX with UNIX AND NOT APPLE in CMakeLists.txt
This commit is contained in:
parent
65b107a448
commit
1fef1885ea
|
@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 23)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
|
|
||||||
# Forcing PIE makes sure that the base address is high enough so that it doesn't clash with the PS4 memory.
|
# Forcing PIE makes sure that the base address is high enough so that it doesn't clash with the PS4 memory.
|
||||||
if (UNIX)
|
if(UNIX AND NOT APPLE)
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
|
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue