[flang-commits] [flang] 731ba68 - [Flang][Utils] Fix BUILD_SHARED_LIBS build (#157828)

via flang-commits flang-commits at lists.llvm.org
Wed Sep 10 03:49:21 PDT 2025


Author: Michael Kruse
Date: 2025-09-10T10:49:17Z
New Revision: 731ba68e800d100b7b56e479700a2a62e407abd2

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

LOG: [Flang][Utils] Fix BUILD_SHARED_LIBS build (#157828)

Required for `BUILD_SHARED_LIBS=ON` builds with optimizations disabled
for the new FortranUtils library.

Also see #150027 #155422

Added: 
    

Modified: 
    flang/lib/Utils/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/lib/Utils/CMakeLists.txt b/flang/lib/Utils/CMakeLists.txt
index 4d5000abedba2..96c037561a8a5 100644
--- a/flang/lib/Utils/CMakeLists.txt
+++ b/flang/lib/Utils/CMakeLists.txt
@@ -17,6 +17,8 @@ add_flang_library(FortranUtils
   LINK_LIBS
   FIRDialect
   FIRBuilder
+  FortranEvaluate
+  FortranSupport
   HLFIRDialect
  
   MLIR_LIBS


        


More information about the flang-commits mailing list