From b7b3761c09cbcf2c82a5db9099f214090dd4b5ff Mon Sep 17 00:00:00 2001 From: boxingcow Date: Sat, 12 Jul 2014 22:10:49 +0100 Subject: [PATCH] Add include path for XQuartz on OS X --- rpcs3/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 5e713720d4..c9b734be42 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -30,6 +30,11 @@ if (NOT MSVC) add_definitions(-msse2) endif() +if (APPLE) + set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -I/opt/include/X11”) + set(CMAKE_C_FLAGS “${CMAKE_C_FLAGS} -I/opt/X11/include”) +endif() + If( NOT RPCS3_SRC_DIR) SET(RPCS3_SRC_DIR ${CMAKE_CURRENT_LIST_DIR}) Message("-- Initializing RPCS3_SRC_DIR=${RPCS3_SRC_DIR}")