Disable tests if being fetched

This commit is contained in:
Zaphhh 2025-04-06 01:20:52 +01:00
parent 2fa6f9395d
commit d62f69fcad

View File

@ -21,6 +21,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
add_subdirectory(Sources) add_subdirectory(Sources)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) if(CMAKE_PROJECT_NAME STREQUAL "meta-json")
add_subdirectory(Tests) add_subdirectory(Tests)
endif() endif()