Skip to content

Commit

Permalink
Remove target_link_libraries() for ESMX_LINK_PACKAGES handling. It seems
Browse files Browse the repository at this point in the history
superfluous, and causes issues for packages that use namespaces like
e.g. OpenMP::OpenMP_Fortran.
  • Loading branch information
theurich committed Aug 15, 2023
1 parent 68224f8 commit 1a7b5e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/addon/ESMX/Driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ endforeach()
# link packages
foreach(ESMX_LINK_PACKAGE IN ITEMS ${ESMX_LINK_PACKAGES})
find_package(${ESMX_LINK_PACKAGE} REQUIRED)
target_link_libraries(esmx_driver ${ESMX_LINK_PACKAGE})
endforeach()

# link external libraries
Expand Down

0 comments on commit 1a7b5e3

Please sign in to comment.