Quick readme, only include gtest when testing is enabled.
This commit is contained in:
+5
-2
@@ -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)
|
||||
Reference in New Issue
Block a user