We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c057779 commit 1e11616Copy full SHA for 1e11616
flang/CMakeLists.txt
@@ -205,6 +205,7 @@ else()
205
include_directories(SYSTEM ${MLIR_TABLEGEN_OUTPUT_DIR})
206
endif()
207
set(FLANG_INTRINSIC_MODULES_DIR ${CMAKE_BINARY_DIR}/include/flang)
208
+set(FLANG_INCLUDE_DIR ${FLANG_BINARY_DIR}/include)
209
210
if(FLANG_BUILD_NEW_DRIVER)
211
# TODO: Remove when libclangDriver is lifted out of Clang
@@ -447,4 +448,11 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
447
448
PATTERN "config.h" EXCLUDE
449
PATTERN ".git" EXCLUDE
450
PATTERN "CMakeFiles" EXCLUDE)
451
+
452
+ install(DIRECTORY ${FLANG_INCLUDE_DIR}/flang
453
+ DESTINATION include
454
+ COMPONENT flang-headers
455
+ FILES_MATCHING
456
+ PATTERN "*.inc"
457
+ )
458
0 commit comments