fix ctest

This commit is contained in:
2026-08-11 14:40:51 +03:00
parent 2dfe68cc3d
commit 399ae3a20c
2 changed files with 3 additions and 2 deletions
+3
View File
@@ -230,6 +230,9 @@ endforeach(F)
if (TESTS)
set(PIP_ROOT_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}")
if (TESTS_RUN)
enable_testing()
endif()
add_subdirectory(tests)
endif()
-2
View File
@@ -16,8 +16,6 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
set(BUILD_GMOCK OFF CACHE BOOL "Build Google Mock" FORCE)
FetchContent_MakeAvailable(googletest)
enable_testing()
include(GoogleTest)
macro(pip_test NAME)