diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt index ef51b7e13..2f30b0935 100644 --- a/src/xrt/compositor/CMakeLists.txt +++ b/src/xrt/compositor/CMakeLists.txt @@ -64,9 +64,6 @@ endif() if(XRT_HAVE_D3D11 OR XRT_HAVE_D3D12) target_link_libraries(comp_client PRIVATE aux_d3d) -endif() - -if(XRT_HAVE_D3D11 OR XRT_HAVE_D3D12) target_sources(comp_client PRIVATE client/comp_d3d_common.cpp client/comp_d3d_common.hpp) endif()