[flang-commits] [flang] e63a600 - [flang] Fixed linaro-flang-aarch64-sharedlibs after D145992.

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Mar 14 13:59:31 PDT 2023


Author: Slava Zakharin
Date: 2023-03-14T13:59:16-07:00
New Revision: e63a600d147bb0065a2ce2b3d52c440d805a6c56

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

LOG: [flang] Fixed linaro-flang-aarch64-sharedlibs after D145992.

Added: 
    

Modified: 
    flang/examples/ExternalHelloWorld/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/examples/ExternalHelloWorld/CMakeLists.txt b/flang/examples/ExternalHelloWorld/CMakeLists.txt
index ec4a4b042291f..042d4b6238ba4 100644
--- a/flang/examples/ExternalHelloWorld/CMakeLists.txt
+++ b/flang/examples/ExternalHelloWorld/CMakeLists.txt
@@ -1,8 +1,9 @@
-set(LLVM_LINK_COMPONENTS
-  FortranRuntime
-  )
-
 # This test is not run by default as it requires input.
 add_llvm_example(external-hello-world
   external-hello.cpp
 )
+
+target_link_libraries(external-hello-world
+  PRIVATE
+  FortranRuntime
+  )


        


More information about the flang-commits mailing list