#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# this file is under MIT License.
# See https://opensource.org/licenses/MIT for license information.
# Copyright (c) 2020-2022 moe-org All rights reserved.
#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

enable_testing()

# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)

message(STATUS "google test source dir:${ZSC_LIBRARIES_DIR}/googletest")
message(STATUS "google test binary dir:${CMAKE_CURRENT_BINARY_DIR}/googletest")

# 添加子项目
add_subdirectory(
	"${ZSC_LIBRARIES_DIR}/googletest"
	"${CMAKE_CURRENT_BINARY_DIR}/googletest"
)

include(GoogleTest)
