From 81561f28ab28cb5b8372daf0afbcd980ae8641b0 Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Sun, 8 Dec 2024 16:44:26 +0100 Subject: [PATCH] Use one if instead of two for building tests and examples. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 41f309a..4e092b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,9 +109,6 @@ endif() if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) add_subdirectory(examples) -endif() - -if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) enable_testing() add_subdirectory(tests) endif()