diff --git a/cmake/Modules/FindGMP.cmake b/cmake/Modules/FindGMP.cmake index caeb6520774..3a7519bdf95 100644 --- a/cmake/Modules/FindGMP.cmake +++ b/cmake/Modules/FindGMP.cmake @@ -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()