diff --git a/flang/cmake/modules/CMakeLists.txt b/flang/cmake/modules/CMakeLists.txt --- a/flang/cmake/modules/CMakeLists.txt +++ b/flang/cmake/modules/CMakeLists.txt @@ -27,6 +27,10 @@ "${FLANG_SOURCE_DIR}/include" "${FLANG_BINARY_DIR}/include" ) +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/FlangConfig.cmake.in + ${flang_cmake_builddir}/FlangConfig.cmake + @ONLY) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/FlangConfigVersion.cmake.in ${flang_cmake_builddir}/FlangConfigVersion.cmake