mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
By default disable ENABLE_PYRENDERDOC for Apple
Rather than a platform exception when building python modules cmake variable UNIX is true when building for Apple platform
This commit is contained in:
committed by
Baldur Karlsson
parent
8d9a618bd6
commit
e3e50fd9e4
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user