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 baa5c88 commit ac1f46fCopy full SHA for ac1f46f
flang/CMakeLists.txt
@@ -506,7 +506,12 @@ include(GetClangResourceDir)
506
get_clang_resource_dir(HEADER_BINARY_DIR PREFIX ${LLVM_LIBRARY_OUTPUT_INTDIR}/.. SUBDIR include)
507
configure_file(
508
${FLANG_SOURCE_DIR}/include/flang/ISO_Fortran_binding.h
509
- ${HEADER_BINARY_DIR}/ISO_Fortran_binding.h)
+ ${HEADER_BINARY_DIR}/ISO_Fortran_binding.h COPYONLY)
510
+
511
+# llvm-test-suite fails if it does not find the the file in this location.
512
+configure_file(
513
+ ${FLANG_SOURCE_DIR}/include/flang/ISO_Fortran_binding.h
514
+ ${LLVM_RUNTIME_OUTPUT_INTDIR}/../include/flang COPYONLY)
515
516
# And also install it into the install area
517
get_clang_resource_dir(HEADER_INSTALL_DIR SUBDIR include)
0 commit comments