Skip to content

Commit

Permalink
Fix library-only build with no examples.
Browse files Browse the repository at this point in the history
This fixes getsentry#701

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
  • Loading branch information
AenBleidd committed Apr 21, 2022
1 parent cb3bb3f commit f042a97
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ sentry_target_sources_cwd(sentry
sentry_uuid.h
sentry_value.c
sentry_value.h
sentry_tracing.c
sentry_tracing.h
path/sentry_path.c
transports/sentry_disk_transport.c
transports/sentry_disk_transport.h
Expand Down Expand Up @@ -151,10 +153,3 @@ if(SENTRY_INTEGRATION_QT)
integrations/sentry_integration_qt.h
)
endif()

if(SENTRY_BUILD_EXAMPLES)
sentry_target_sources_cwd(sentry
sentry_tracing.c
sentry_tracing.h
)
endif()

0 comments on commit f042a97

Please sign in to comment.