Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -50,7 +50,7 @@ option(USE_MAC "Build for Mac" OFF)
 option(USE_SPEECH "Use Speech Dispatcher" OFF)
 
 
-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
    add_definitions(-DQ_OS_LINUX)
    add_definitions(-DQ_OS_UNIX)
 endif()
@@ -255,4 +255,4 @@ install (FILES ${tea_ICONPNG48} DESTINATION share/icon
 install (FILES ${tea_ICONPNG64} DESTINATION share/icons/hicolor/64x64/apps)
 install (FILES ${tea_ICONPNG128} DESTINATION share/icons/hicolor/128x128/apps)
 
-install (FILES ${tea_DESKTOP} DESTINATION share/applications)
\ No newline at end of file
+install (FILES ${tea_DESKTOP} DESTINATION share/applications)
