From 5ab1733e38e1ee9cb1d1bad4c27699129d96f416 Mon Sep 17 00:00:00 2001 From: William Dawson Date: Tue, 1 Oct 2024 15:48:58 +0900 Subject: [PATCH] Add a non-module fortran routine to help autotools test linking --- Source/Fortran/CMakeLists.txt | 1 + Source/Fortran/test_ntpoly_link.f90 | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 Source/Fortran/test_ntpoly_link.f90 diff --git a/Source/Fortran/CMakeLists.txt b/Source/Fortran/CMakeLists.txt index 73248817..2e5d6e48 100644 --- a/Source/Fortran/CMakeLists.txt +++ b/Source/Fortran/CMakeLists.txt @@ -44,6 +44,7 @@ set(Fsrc TrigonometrySolversModule.F90 TripletListModule.F90 TripletModule.F90 + test_ntpoly_link.f90 ) ################################################################################ diff --git a/Source/Fortran/test_ntpoly_link.f90 b/Source/Fortran/test_ntpoly_link.f90 new file mode 100644 index 00000000..a8afcd43 --- /dev/null +++ b/Source/Fortran/test_ntpoly_link.f90 @@ -0,0 +1,3 @@ +!> this subroutine is just here for testing linking with autotools. +subroutine test_ntpoly_link() +end subroutine test_ntpoly_link \ No newline at end of file