Skip to content

Commit

Permalink
Correctly add GMP::gmp as transitive dependency in FindGMP.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoch authored Nov 29, 2024
1 parent 921574b commit b99728e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindGMP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ if(GMP_FOUND)
set_target_properties(GMP::gmpxx PROPERTIES
IMPORTED_LOCATION ${GMPXX_LIBRARY}
INTERFACE_INCLUDE_DIRECTORIES ${GMPXX_INCLUDE_DIR}
TARGET_LINK_LIBRARIES GMP::gmp)
INTERFACE_LINK_LIBRARIES GMP::gmp)
endif()
endif()

0 comments on commit b99728e

Please sign in to comment.