Skip to content

Commit 5330cd1

Browse files
committed
also update pkg-config file generated by cmake
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 2c3a5fd commit 5330cd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ if(WITH_LTM)
136136
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_LTM)
137137
endif()
138138
target_link_libraries(${PROJECT_NAME} PUBLIC libtommath)
139+
list(APPEND MPI_PROVIDERS -ltommath)
139140
endif()
140141
# GNU MP
141142
if(WITH_GMP)
@@ -146,6 +147,7 @@ if(WITH_GMP)
146147
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_GMP)
147148
endif()
148149
target_link_libraries(${PROJECT_NAME} PUBLIC ${GMP_LIBRARIES})
150+
list(APPEND MPI_PROVIDERS -lgmp)
149151
endif()
150152

151153

0 commit comments

Comments
 (0)