File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -530,7 +530,13 @@ include(GetClangResourceDir)
530
530
get_clang_resource_dir (HEADER_BINARY_DIR PREFIX ${LLVM_LIBRARY_OUTPUT_INTDIR} /.. SUBDIR include )
531
531
configure_file (
532
532
${FLANG_SOURCE_DIR} /include/flang/ISO_Fortran_binding.h
533
- ${HEADER_BINARY_DIR} /ISO_Fortran_binding.h )
533
+ ${HEADER_BINARY_DIR} /ISO_Fortran_binding.h COPYONLY )
534
+
535
+ # llvm-test-suite explicitly searches for this header file
536
+ # (`ISO_FORTRAN_C_HEADER`), cannot hide it in Clang's resource dir.
537
+ configure_file (
538
+ ${FLANG_SOURCE_DIR} /include/flang/ISO_Fortran_binding.h
539
+ ${LLVM_RUNTIME_OUTPUT_INTDIR} /../include/flang/ISO_Fortran_binding.h COPYONLY )
534
540
535
541
# And also install it into the install area
536
542
get_clang_resource_dir (HEADER_INSTALL_DIR SUBDIR include )
You can’t perform that action at this time.
0 commit comments