Forráskód Böngészése

Change SharedLibAffix.h include path to eliminate the need to change build setting (#5085)

The file dxcapi.use.cpp is used in other projects and would require build changes if the #include did not change.
Helena Kotas 2 éve
szülő
commit
667fb773cc
2 módosított fájl, 1 hozzáadás és 3 törlés
  1. 0 2
      lib/DxcSupport/CMakeLists.txt
  2. 1 1
      lib/DxcSupport/dxcapi.use.cpp

+ 0 - 2
lib/DxcSupport/CMakeLists.txt

@@ -17,6 +17,4 @@ ${LLVM_MAIN_SRC_DIR}/lib/DxcSupport/SharedLibAffix.inc
 ${LLVM_INCLUDE_DIR}/dxc/Support/SharedLibAffix.h
 )
 
-include_directories( ${LLVM_INCLUDE_DIR}/dxc/Support) #needed to find the generated header
-
 add_dependencies(LLVMDxcSupport TablegenHLSLOptions)

+ 1 - 1
lib/DxcSupport/dxcapi.use.cpp

@@ -15,7 +15,7 @@
 #include "dxc/Support/Unicode.h"
 #include "dxc/Support/FileIOHelper.h"
 #include "dxc/Support/WinFunctions.h"
-#include "SharedLibAffix.h"
+#include "dxc/Support/SharedLibAffix.h" // header generated during DXC build
 
 namespace dxc {