mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-08-02 23:12:51 +02:00
16 lines
584 B
CMake
16 lines
584 B
CMake
# Copyright The OpenTelemetry Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(BUILD_TESTING)
|
|
add_library(opentelemetry_test_common INTERFACE)
|
|
target_include_directories(
|
|
opentelemetry_test_common
|
|
INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
|
|
"$<INSTALL_INTERFACE:include>")
|
|
|
|
set_target_properties(opentelemetry_test_common PROPERTIES EXPORT_NAME
|
|
"teset_common")
|
|
target_link_libraries(opentelemetry_test_common INTERFACE opentelemetry_api)
|
|
|
|
add_subdirectory(src)
|
|
endif()
|