freebsd-ports/security/rhonabwy/files/patch-CMakeLists.txt
Dan Langille c9befd7a40 security/rhonabwy: New port: JOSE library
Javascript Object Signing and Encryption (JOSE) library
- JWK, JWKS, JWS, JWE and JWT
2022-07-08 21:57:00 +00:00

11 lines
666 B
Text

--- CMakeLists.txt.orig 2022-07-08 18:38:40 UTC
+++ CMakeLists.txt
@@ -171,7 +171,7 @@ set_target_properties(rhonabwy PROPERTIES
PUBLIC_HEADER "${INC_DIR}/rhonabwy.h;${PROJECT_BINARY_DIR}/rhonabwy-cfg.h"
VERSION "${LIBRARY_VERSION}"
SOVERSION "${LIBRARY_SOVERSION}")
-target_link_libraries(rhonabwy ${LIBS})
+target_link_libraries(rhonabwy ${LIBS} -L${CMAKE_INSTALL_PREFIX}/lib -lgmp)
set(SEARCH_ORCANIA OFF CACHE BOOL "Force to false") # Avoid to search and download orcania during yder search and download
set(SEARCH_ORCANIA_U OFF CACHE BOOL "Force to false") # Avoid to search and download orcania during ulfius search and download