diff options
Diffstat (limited to 'Tests/FortranOnly')
-rw-r--r-- | Tests/FortranOnly/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/FortranOnly/objmain.f90 | 5 | ||||
-rw-r--r-- | Tests/FortranOnly/objmod.f90 | 7 |
3 files changed, 0 insertions, 18 deletions
diff --git a/Tests/FortranOnly/CMakeLists.txt b/Tests/FortranOnly/CMakeLists.txt index dfc28dd..02bf2b8 100644 --- a/Tests/FortranOnly/CMakeLists.txt +++ b/Tests/FortranOnly/CMakeLists.txt @@ -186,9 +186,3 @@ if(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_OFF AND set_property(SOURCE no_preprocess_source_upper.F no_preprocess_source_fpp.fpp PROPERTY Fortran_PREPROCESS OFF) endif() - -# Issue 25112 -set(CMAKE_Fortran_MODULE_DIRECTORY "${PROJECT_BINARY_DIR}/include") -add_library(objmod OBJECT objmod.f90) -add_executable(objmain objmain.f90) -target_link_libraries(objmain PRIVATE objmod) diff --git a/Tests/FortranOnly/objmain.f90 b/Tests/FortranOnly/objmain.f90 deleted file mode 100644 index d41d454..0000000 --- a/Tests/FortranOnly/objmain.f90 +++ /dev/null @@ -1,5 +0,0 @@ -program main - use objmod, only : hello - implicit none - call hello() -end program diff --git a/Tests/FortranOnly/objmod.f90 b/Tests/FortranOnly/objmod.f90 deleted file mode 100644 index 6b79cc7..0000000 --- a/Tests/FortranOnly/objmod.f90 +++ /dev/null @@ -1,7 +0,0 @@ -module objmod - implicit none -contains - subroutine hello() - print '(a)', "hello world" - end subroutine hello -end module objmod |