- Wrap FIND_PACKAGE(RTI) in IF(NOT TARGET RTI::nddsc) condition - Prevents placeholder targets from overwriting manually configured RTI:: targets - Manual configuration creates RTI:: targets when BUILD_RTI=ON and RTI found - FIND_PACKAGE only called as fallback when manual config doesn't create targets Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M1CT3XSQXCX9RQR6WM9DG3GH
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
|
|
#ifndef LTSSCRIPTTIMELINE_EXPORT_H
|
|
#define LTSSCRIPTTIMELINE_EXPORT_H
|
|
|
|
#ifdef LTSSCRIPTTIMELINE_STATIC_DEFINE
|
|
# define LTSSCRIPTTIMELINE_EXPORT
|
|
# define LTSSCRIPTTIMELINE_NO_EXPORT
|
|
#else
|
|
# ifndef LTSSCRIPTTIMELINE_EXPORT
|
|
# ifdef LtsScriptTimeline_EXPORTS
|
|
/* We are building this library */
|
|
# define LTSSCRIPTTIMELINE_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define LTSSCRIPTTIMELINE_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef LTSSCRIPTTIMELINE_NO_EXPORT
|
|
# define LTSSCRIPTTIMELINE_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef LTSSCRIPTTIMELINE_DEPRECATED
|
|
# define LTSSCRIPTTIMELINE_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef LTSSCRIPTTIMELINE_DEPRECATED_EXPORT
|
|
# define LTSSCRIPTTIMELINE_DEPRECATED_EXPORT LTSSCRIPTTIMELINE_EXPORT LTSSCRIPTTIMELINE_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef LTSSCRIPTTIMELINE_DEPRECATED_NO_EXPORT
|
|
# define LTSSCRIPTTIMELINE_DEPRECATED_NO_EXPORT LTSSCRIPTTIMELINE_NO_EXPORT LTSSCRIPTTIMELINE_DEPRECATED
|
|
#endif
|
|
|
|
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef LTSSCRIPTTIMELINE_NO_DEPRECATED
|
|
# define LTSSCRIPTTIMELINE_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* LTSSCRIPTTIMELINE_EXPORT_H */
|