Skip to content

Commit

Permalink
Specify linker language for Fortran tests
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Apr 2, 2024
1 parent d41bb16 commit 4f432a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/f_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ foreach( _test ${_api_fodc_tests} )
ENVIRONMENT ${test_environment}
TEST_DEPENDS odc_get_test_data
CONDITION HAVE_FORTRAN
LINKER_LANGUAGE Fortran
LIBS fodc )
endforeach()

Expand Down Expand Up @@ -40,6 +41,7 @@ foreach( _i RANGE ${_count} )
SOURCES ${_sources}.f90
LIBS fodc
CONDITION HAVE_FORTRAN
LINKER_LANGUAGE Fortran
NOINSTALL )
endforeach()

Expand Down

0 comments on commit 4f432a8

Please sign in to comment.