mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Always compile AMD project even if drivers are disabled
This commit is contained in:
@@ -353,11 +353,12 @@ endif()
|
|||||||
if(ENABLE_GL OR ENABLE_GLES OR ENABLE_VULKAN)
|
if(ENABLE_GL OR ENABLE_GLES OR ENABLE_VULKAN)
|
||||||
add_subdirectory(driver/shaders/spirv)
|
add_subdirectory(driver/shaders/spirv)
|
||||||
list(APPEND renderdoc_objects $<TARGET_OBJECTS:rdoc_spirv>)
|
list(APPEND renderdoc_objects $<TARGET_OBJECTS:rdoc_spirv>)
|
||||||
|
|
||||||
add_subdirectory(driver/ihv/amd)
|
|
||||||
list(APPEND renderdoc_objects $<TARGET_OBJECTS:rdoc_amd>)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# always pull in the amd folder
|
||||||
|
add_subdirectory(driver/ihv/amd)
|
||||||
|
list(APPEND renderdoc_objects $<TARGET_OBJECTS:rdoc_amd>)
|
||||||
|
|
||||||
# rdoc must be after its drivers because of linux_libentry.cpp
|
# rdoc must be after its drivers because of linux_libentry.cpp
|
||||||
list(APPEND renderdoc_objects
|
list(APPEND renderdoc_objects
|
||||||
$<TARGET_OBJECTS:rdoc>
|
$<TARGET_OBJECTS:rdoc>
|
||||||
|
|||||||
Reference in New Issue
Block a user