mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Guard XCode project generation specific settings
This commit is contained in:
committed by
Baldur Karlsson
parent
39d11975b2
commit
949aaa2c0a
@@ -330,7 +330,7 @@ add_custom_command(OUTPUT QRenderDoc
|
||||
DEPENDS RenderDoc.icns)
|
||||
add_custom_target(build-qrenderdoc ALL DEPENDS QRenderDoc DEPENDS renderdoc DEPENDS swig-bindings)
|
||||
|
||||
if(APPLE)
|
||||
if(APPLE AND CMAKE_GENERATOR STREQUAL "Xcode")
|
||||
set_target_properties(build-qrenderdoc PROPERTIES XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING OFF)
|
||||
set_target_properties(build-qrenderdoc PROPERTIES XCODE_SCHEME_EXECUTABLE ${CMAKE_BINARY_DIR}/bin/qrenderdoc.app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user