Index: tests/CMakeLists.txt
--- tests/CMakeLists.txt.orig
+++ tests/CMakeLists.txt
@@ -157,6 +157,7 @@ foreach (exe ${TestExecutables})
         endif()
     else()
         set_target_properties(${exe} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/tests)
+        target_link_directories(${exe} PUBLIC ${LOCALBASE}/lib)
     endif()
     gtest_discover_tests(${exe})
 endforeach()
