Skip to content

Commit

Permalink
cmake bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Oct 27, 2022
1 parent 3335eba commit c76e03a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions clima/fortran/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ add_library(clima_c_api
clima_c_api.f90
)
set(clima_c_api_deps
futils.f90
OpticalProperties.f90
ClimaRadtranWrk.f90
Radtran.f90
WaterAdiabatClimate.f90
${CMAKE_CURRENT_SOURCE_DIR}/futils.f90
${CMAKE_CURRENT_SOURCE_DIR}/OpticalProperties.f90
${CMAKE_CURRENT_SOURCE_DIR}/ClimaRadtranWrk.f90
${CMAKE_CURRENT_SOURCE_DIR}/Radtran.f90
${CMAKE_CURRENT_SOURCE_DIR}/WaterAdiabatClimate.f90
)
foreach(PDEP ${_clima_deps})
foreach(PDEP ${clima_c_api_deps})
set_source_files_properties(clima_c_api.f90 PROPERTIES OBJECT_DEPENDS ${PDEP})
endforeach()
target_link_libraries(clima_c_api clima)

0 comments on commit c76e03a

Please sign in to comment.