There was an error while loading. Please reload this page.
1 parent b08f28e commit 5577b50Copy full SHA for 5577b50
1 file changed
CMakeLists.txt
@@ -22,5 +22,9 @@ include(lib/system/cmake/system.cmake)
22
23
add_subdirectory(lib)
24
add_subdirectory(common)
25
-add_subdirectory(test)
26
add_subdirectory(vendor)
+
27
+# Only build tests when standalone
28
+if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
29
+ add_subdirectory(test)
30
+endif()
0 commit comments