--- CMakeLists.txt.orig	2023-09-16 21:43:59 UTC
+++ CMakeLists.txt
@@ -179,7 +179,7 @@ target_include_directories(rhonabwy
     PUBLIC "$<BUILD_INTERFACE:${INC_DIR}>"
     PUBLIC "$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>"
     PUBLIC "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
-target_link_libraries(rhonabwy PUBLIC ${RHONABWY_LIBS})
+target_link_libraries(rhonabwy PUBLIC ${RHONABWY_LIBS} -L${CMAKE_INSTALL_PREFIX}/lib -lgmp -lhogweed)
 set_target_properties(rhonabwy PROPERTIES
         PUBLIC_HEADER "${INC_DIR}/rhonabwy.h;${PROJECT_BINARY_DIR}/rhonabwy-cfg.h"
         VERSION "${LIBRARY_VERSION}"
@@ -232,7 +232,7 @@ option(BUILD_RNBYC "Build rnbyc application." ON)
 
 if (BUILD_RNBYC)
     add_executable(rnbyc ${RNBYC_DIR}/rnbyc.c ${INC_DIR}/rhonabwy.h ${PROJECT_BINARY_DIR}/rhonabwy-cfg.h)
-    set_target_properties(rnbyc PROPERTIES SKIP_BUILD_RPATH TRUE COMPILE_OPTIONS "-Wextra;-Wconversion")
+    set_target_properties(rnbyc PROPERTIES SKIP_BUILD_RPATH TRUE COMPILE_OPTIONS "-Wextra;-Wconversion;-Wno-sign-conversion;-Wno-unknown-warning-option")
     add_dependencies(rnbyc rhonabwy)
     target_link_libraries(rnbyc rhonabwy ${RHONABWY_LIBS} Yder::Yder Orcania::Orcania)
     install(TARGETS rnbyc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
