--- src/cpp/server/CMakeLists.txt.orig	2021-05-24 22:22:25 UTC
+++ src/cpp/server/CMakeLists.txt
@@ -137,6 +137,9 @@ include_directories(
 # define executable
 add_stripped_executable(rserver ServerMain.cpp ${SERVER_SOURCE_FILES} ${SERVER_HEADER_FILES})
 
+# additional libraries
+target_link_libraries(rserver -L${FREEBSD_LIBDIR} -linotify)
+
 # set link dependencies
 target_link_libraries(rserver
    rstudio-core
