--- /dev/null
+diff -ur a/CMakeLists.txt b/CMakeLists.txt\r
+--- a/CMakeLists.txt\r
++++ b/CMakeLists.txt\r
+@@ -136,7 +136,7 @@\r
+ # other subdirectories\r
+ # only add if not inside add_subdirectory()\r
+ option(TYPE_SAFE_BUILD_TEST_EXAMPLE "build test and example" OFF)\r
+-if(${TYPE_SAFE_BUILD_TEST_EXAMPLE} OR (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR))\r
++if(${TYPE_SAFE_BUILD_TEST_EXAMPLE})\r
+ enable_testing()\r
+ add_subdirectory(example/)\r
+ add_subdirectory(test/)\r