Skip to content

Commit 808c3c4

Browse files
authored
Merge branch 'main' into fix/reader_data_race
2 parents 21b04f4 + da8e377 commit 808c3c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ if(WITH_OTLP_HTTP_COMPRESSION)
131131
INTERFACE ENABLE_OTLP_COMPRESSION_PREVIEW)
132132
endif()
133133

134+
if(APPLE)
135+
target_link_libraries(opentelemetry_api INTERFACE "-framework CoreFoundation")
136+
endif()
137+
134138
include(${PROJECT_SOURCE_DIR}/cmake/pkgconfig.cmake)
135139

136140
if(OPENTELEMETRY_INSTALL)

0 commit comments

Comments
 (0)