Summary: Fixes https://bugs.llvm.org/show_bug.cgi?id=46078
Reviewers: DavidTruby, jdoerfert, PeteSteinfeld, sscalpone, tskeith
Reviewed By: PeteSteinfeld, sscalpone, tskeith
Subscribers: mgorny, llvm-commits, tskeith
Tags: #llvm, #flang
Differential Revision: https://reviews.llvm.org/D81266
endif()
configure_file(config.h.cmake config.h)
+# include_directories is used here instead of target_include_directories
+# because add_flang_library creates multiple objects (STATIC/SHARED, OBJECT)
+# with different names
+include_directories(AFTER ${CMAKE_CURRENT_BINARY_DIR})
add_flang_library(FortranRuntime
ISO_Fortran_binding.cpp