diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 497d173a2bd7e590a4db27f996f6d426c4416d81..ff08b6ae558e2023b8c34e499d1ce4ae461b60ce 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,3 +25,6 @@ add_subdirectory( modules )
 # branding components
 add_subdirectory( branding )
 
+if( WITH_CRASHREPORTER )
+    add_subdirectory( crashreporter )
+endif()