mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
change UNIX with UNIX AND NOT APPLE in CMakeLists.txt
This commit is contained in:
parent
65b107a448
commit
1fef1885ea
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 23)
|
|||
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.
|
||||
if (UNIX)
|
||||
if(UNIX AND NOT APPLE)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue