From 4a08466c784014711a7cf191c2ffd4f8d3ed1e46 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov <474217+AMDmi3@users.noreply.github.com> Date: Thu, 13 Nov 2025 15:40:42 +0300 Subject: [PATCH] Actually optionize tests --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b0c25a..a85e348 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ install(FILES ) # only build tests when top level and testing enabled -if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) +if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND SIMPLEINI_BUILD_TESTS) include(CTest) if(BUILD_TESTING) add_subdirectory(tests)