From 1fef1885ea5e6cb5866ee7e68519c1453cd1df50 Mon Sep 17 00:00:00 2001 From: Random06457 <28494085+Random06457@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:25:58 +0900 Subject: [PATCH] change UNIX with UNIX AND NOT APPLE in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fca2dd75..1d1d2105 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()