--- tools/external/vdb-config/tui/CMakeLists.txt.orig	2023-07-10 16:23:35 UTC
+++ tools/external/vdb-config/tui/CMakeLists.txt
@@ -25,6 +25,7 @@
 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. )
 
 set ( UNIX_SRC unix/systui.c )
+set ( BSD_SRC bsd/systui.c )
 set ( LINUX_SRC linux/systui.c )
 set ( MAC_SRC bsd/systui.c )
 set ( WIN_SRC win/systui.c )
@@ -32,6 +33,9 @@ set ( WIN_SRC win/systui.c )
 if ( "windows" STREQUAL ${OS} )
     set ( OS_SPECIFIC_SRC ${WIN_SRC} )
     #include_directories( win )
+elseif( "bsd" STREQUAL ${OS} )
+    set ( OS_SPECIFIC_SRC ${BSD_SRC} )
+    #include_directories( unix )
 elseif( "linux" STREQUAL ${OS} )
     set ( OS_SPECIFIC_SRC ${LINUX_SRC} )
     #include_directories( unix )
