--- CMakeLists.txt.orig	2020-07-10 15:37:10 UTC
+++ CMakeLists.txt
@@ -116,9 +116,11 @@ if (NOT MSVC)
     DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/ COMPONENT pkgconfig)
 endif()
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES
-  ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_BINARY_DIR}/console_bridge-config.cmake
-  ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_BINARY_DIR}/console_bridge.pc)
+if (DO_TESTING)
+    enable_testing()
+    add_subdirectory(test)
+endif()
+# ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_BINARY_DIR}/console_bridge.pc)
 
 if(BUILD_TESTING)
   enable_testing()
