Skip to content

Commit

Permalink
replace add_dependencies with target_link_libraries to support parall…
Browse files Browse the repository at this point in the history
…el ninja builds (#124)

Co-authored-by: Michael Wathen <[email protected]>
  • Loading branch information
jornbr and wathen authored Jun 25, 2024
1 parent 49378b1 commit eb6acc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ add_library(fabm_models_ersem OBJECT
zenith_angle.F90
)

add_dependencies(fabm_models_ersem fabm_base)
target_link_libraries(fabm_models_ersem PRIVATE fabm_base)

if(FABM_EMBED_VERSION)
# Dynamically generate "ersem_version" module with git commit/branch information at every build.
Expand Down

0 comments on commit eb6acc1

Please sign in to comment.