summaryrefslogtreecommitdiff
path: root/flang/lib/Utils/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'flang/lib/Utils/CMakeLists.txt')
-rw-r--r--flang/lib/Utils/CMakeLists.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/flang/lib/Utils/CMakeLists.txt b/flang/lib/Utils/CMakeLists.txt
new file mode 100644
index 000000000000..96c037561a8a
--- /dev/null
+++ b/flang/lib/Utils/CMakeLists.txt
@@ -0,0 +1,29 @@
+#===-- lib/Utils/CMakeLists.txt --------------------------------------------===#
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+#
+#===------------------------------------------------------------------------===#
+
+add_flang_library(FortranUtils
+ OpenMP.cpp
+
+ DEPENDS
+ FIRDialect
+ FIRBuilder
+ HLFIRDialect
+
+ LINK_LIBS
+ FIRDialect
+ FIRBuilder
+ FortranEvaluate
+ FortranSupport
+ HLFIRDialect
+
+ MLIR_LIBS
+ MLIRSupport
+ MLIROpenMPDialect
+ MLIRTransformUtils
+ MLIRArithDialect
+)