diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f2b4e496..127cee3fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -298,6 +298,10 @@ if(APPLE) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/lib") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/bin") + + # By default disable the python modules (brew python does not provide universal libraries) + message(STATUS "Disabling renderdoc python modules for Apple build") + set(ENABLE_PYRENDERDOC OFF CACHE BOOL "" FORCE) endif() if(ENABLE_GL) diff --git a/qrenderdoc/CMakeLists.txt b/qrenderdoc/CMakeLists.txt index 5f79d4c4d..486832594 100644 --- a/qrenderdoc/CMakeLists.txt +++ b/qrenderdoc/CMakeLists.txt @@ -357,6 +357,6 @@ install (CODE "MESSAGE(\"NB: Your paths may vary.\")") endif() # if(ENABLE_QRENDERDOC) # Build python modules - primarily used for constructing documentation -if(ENABLE_PYRENDERDOC AND UNIX AND NOT APPLE) +if(ENABLE_PYRENDERDOC AND UNIX) add_subdirectory(Code/pyrenderdoc) endif()