Skip to content

Commit e2a80d8

Browse files
Fortran90 tests are building
Freddy was right with this one. As the static libraries for HDF4 are already linked with the NeXus shared object we must not addit to the link list anymore. Update #409
1 parent 0b6ec9b commit e2a80d8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ if(ENABLE_FORTRAN90)
170170
#need to add the directory with the .mod files to the include path
171171
include_directories(${PROJECT_BINARY_DIR}/bindings/f90)
172172
add_executable(NXtestf90 NXtest.f90)
173-
target_link_libraries(NXtestf90 NeXus_F90_Shared_Library
174-
${NAPI_LINK_LIBS})
173+
target_link_libraries(NXtestf90 NeXus_F90_Shared_Library)
175174
add_test(NAME "Fortran-90-test" COMMAND NXtestf90)
176175
endif()
177176

0 commit comments

Comments
 (0)