Skip to content

Commit e49cee9

Browse files
committed
fix for PIO build
1 parent 0a34d19 commit e49cee9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ endif()
178178

179179
if("PIO" IN_LIST switches)
180180
target_sources(ww3_lib PRIVATE ${pio_src})
181+
target_link_libraries(ww3_lib PUBLIC PIO::PIO_Fortran)
181182
endif()
182183

183184
# Handle PDLIB, SCRIP, SCRIPNC build files directly instead of through configuration file

0 commit comments

Comments
 (0)