From d62f69fcad89cc500ae9e06e9d207c213115a2c9 Mon Sep 17 00:00:00 2001 From: Zaphhh Date: Sun, 6 Apr 2025 01:20:52 +0100 Subject: [PATCH] Disable tests if being fetched --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b17a390..639299c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) add_subdirectory(Sources) -if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) +if(CMAKE_PROJECT_NAME STREQUAL "meta-json") add_subdirectory(Tests) endif() \ No newline at end of file