[flang-commits] [flang] a43319a - [Flang] Restore Flang cmake configuration data

Peter Steinfeld via flang-commits flang-commits at lists.llvm.org
Mon Dec 5 12:36:07 PST 2022


Author: Peter Steinfeld
Date: 2022-12-05T12:35:50-08:00
New Revision: a43319a8ad77aa3fcd3640f03c3e2be6cb4bd9fe

URL: https://github.com/llvm/llvm-project/commit/a43319a8ad77aa3fcd3640f03c3e2be6cb4bd9fe
DIFF: https://github.com/llvm/llvm-project/commit/a43319a8ad77aa3fcd3640f03c3e2be6cb4bd9fe.diff

LOG: [Flang] Restore Flang cmake configuration data

Patch D138274 removed some Flang cmake configuration information that we
need for our internal builds.  This change restores them.

Differential Revision: https://reviews.llvm.org/D139355

Added: 
    

Modified: 
    flang/cmake/modules/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/cmake/modules/CMakeLists.txt b/flang/cmake/modules/CMakeLists.txt
index bf50bcaa18d52..78cb1bc9cf995 100644
--- a/flang/cmake/modules/CMakeLists.txt
+++ b/flang/cmake/modules/CMakeLists.txt
@@ -27,6 +27,10 @@ set(FLANG_CONFIG_INCLUDE_DIRS
   "${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


        


More information about the flang-commits mailing list