--- CMakeLists.txt.orig	2025-07-07 07:42:12 UTC
+++ CMakeLists.txt
@@ -28,6 +28,8 @@ set(NATIVE_DIR ${PROJECT_SOURCE_DIR}/src/main/native)
 # add CMakeLists.txt in subdirectories
 set(NATIVE_DIR ${PROJECT_SOURCE_DIR}/src/main/native)
 
+link_directories(${CMAKE_INSTALL_PREFIX}/lib)
+
 add_subdirectory("${NATIVE_DIR}/compression")
 add_subdirectory("${NATIVE_DIR}/pairhmm")
 add_subdirectory("${NATIVE_DIR}/utils")
