Always compile AMD project even if drivers are disabled

This commit is contained in:
baldurk
2017-12-22 22:19:27 +00:00
parent cdd731d00c
commit 433c19fa1b
+4 -3
View File
@@ -353,11 +353,12 @@ endif()
if(ENABLE_GL OR ENABLE_GLES OR ENABLE_VULKAN)
add_subdirectory(driver/shaders/spirv)
list(APPEND renderdoc_objects $<TARGET_OBJECTS:rdoc_spirv>)
add_subdirectory(driver/ihv/amd)
list(APPEND renderdoc_objects $<TARGET_OBJECTS:rdoc_amd>)
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
list(APPEND renderdoc_objects
$<TARGET_OBJECTS:rdoc>