Generate SharedLibAffix.h into the include directory (#5058)

This commit is contained in:
Helena Kotas 2023-02-27 11:08:17 -08:00 коммит произвёл GitHub
Родитель ed60c69440
Коммит 845efa9521
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -14,9 +14,9 @@ add_llvm_library(LLVMDxcSupport
#generate header with platform-specific library name
configure_file(
${LLVM_MAIN_SRC_DIR}/lib/DxcSupport/SharedLibAffix.inc
SharedLibAffix.h
${LLVM_INCLUDE_DIR}/dxc/Support/SharedLibAffix.h
)
include_directories( ${LLVM_INCLUDE_DIR}/DxcSupport) #needed to find the generated header
include_directories( ${LLVM_INCLUDE_DIR}/dxc/Support) #needed to find the generated header
add_dependencies(LLVMDxcSupport TablegenHLSLOptions)