You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When I add dxc as a dependency to my project through add_subdirectory("external/dxc"), it now fails to build because this line is unable to correctly locate /lib/DxcSupport/dxcapi.use.cpp due to ${CMAKE_SOURCE_DIR} now pointing to my top-level project path rather than the dxc root path.
The regression was introduced in the #7514
Steps to Reproduce
Create a CMake project and add dxc as a dependency using add_subdirectory("external/dxc").
Actual Behavior
CMake Error at core/external/dxc/cmake/modules/AddLLVM.cmake:611 (add_executable):
Cannot find source file: