- 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.2 KiB
C
44 lines
1.2 KiB
C
|
|
#ifndef LTSSESSIONDATA_EXPORT_H
|
|
#define LTSSESSIONDATA_EXPORT_H
|
|
|
|
#ifdef LTSSESSIONDATA_STATIC_DEFINE
|
|
# define LTSSESSIONDATA_EXPORT
|
|
# define LTSSESSIONDATA_NO_EXPORT
|
|
#else
|
|
# ifndef LTSSESSIONDATA_EXPORT
|
|
# ifdef LtsSessionData_EXPORTS
|
|
/* We are building this library */
|
|
# define LTSSESSIONDATA_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define LTSSESSIONDATA_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef LTSSESSIONDATA_NO_EXPORT
|
|
# define LTSSESSIONDATA_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef LTSSESSIONDATA_DEPRECATED
|
|
# define LTSSESSIONDATA_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef LTSSESSIONDATA_DEPRECATED_EXPORT
|
|
# define LTSSESSIONDATA_DEPRECATED_EXPORT LTSSESSIONDATA_EXPORT LTSSESSIONDATA_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef LTSSESSIONDATA_DEPRECATED_NO_EXPORT
|
|
# define LTSSESSIONDATA_DEPRECATED_NO_EXPORT LTSSESSIONDATA_NO_EXPORT LTSSESSIONDATA_DEPRECATED
|
|
#endif
|
|
|
|
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef LTSSESSIONDATA_NO_DEPRECATED
|
|
# define LTSSESSIONDATA_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* LTSSESSIONDATA_EXPORT_H */
|