Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
meastp authored Jan 2, 2024
1 parent e869d34 commit 054eb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/common/foo_library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set_target_version(common_foo_library)

if(DEFINED OPENTELEMETRY_BUILD_DLL)
message(STATUS "OPENTELEMETRY_BUILD_DLL for common_foo_library")
target_compile_definitions(common_foo_library PRIVATE OPENTELEMETRY_BUILD_IMPORT_DLL=1)
target_compile_definitions(common_foo_library PRIVATE OPENTELEMETRY_BUILD_IMPORT_DLL)
target_link_libraries(common_foo_library opentelemetry_cpp)
else()
target_link_libraries(common_foo_library PUBLIC ${CMAKE_THREAD_LIBS_INIT}
Expand Down

0 comments on commit 054eb9e

Please sign in to comment.