Quick readme, only include gtest when testing is enabled.

This commit is contained in:
2026-09-19 11:51:24 +02:00
parent 7b7fc0b17e
commit b5ae3805b0
3 changed files with 55 additions and 3 deletions
+5 -2
View File
@@ -6,7 +6,10 @@ project(juiceboy
)
include(CTest)
find_package(GTest CONFIG REQUIRED)
include(GoogleTest)
if (BUILD_TESTING)
find_package(GTest CONFIG REQUIRED)
include(GoogleTest)
endif ()
add_subdirectory(juiceboy)