mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Check to ensure GTest alias doesn't exist in parent project.
This commit is contained in:
parent
5354bc842c
commit
4d13283bad
@ -4,7 +4,9 @@ include(FetchContent)
|
||||
|
||||
enable_language(CXX)
|
||||
|
||||
find_package(GTest QUIET)
|
||||
if(NOT TARGET GTest::GTest)
|
||||
find_package(GTest QUIET)
|
||||
endif()
|
||||
|
||||
if(NOT TARGET GTest::GTest)
|
||||
if (WIN32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user