also update pkg-config file generated by cmake

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel 2023-01-18 19:53:57 +01:00 committed by Jamie Reece Wilson
parent 046443467d
commit a8081c5641

View File

@ -136,6 +136,7 @@ if(WITH_LTM)
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_LTM)
endif()
target_link_libraries(${PROJECT_NAME} PUBLIC libtommath)
list(APPEND MPI_PROVIDERS -ltommath)
endif()
# GNU MP
if(WITH_GMP)
@ -146,6 +147,7 @@ if(WITH_GMP)
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_GMP)
endif()
target_link_libraries(${PROJECT_NAME} PUBLIC ${GMP_LIBRARIES})
list(APPEND MPI_PROVIDERS -lgmp)
endif()