- 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.5 KiB
C
44 lines
1.5 KiB
C
|
|
#ifndef LTSPROJECTIONWORKSTATION_EXPORT_H
|
|
#define LTSPROJECTIONWORKSTATION_EXPORT_H
|
|
|
|
#ifdef LTSPROJECTIONWORKSTATION_STATIC_DEFINE
|
|
# define LTSPROJECTIONWORKSTATION_EXPORT
|
|
# define LTSPROJECTIONWORKSTATION_NO_EXPORT
|
|
#else
|
|
# ifndef LTSPROJECTIONWORKSTATION_EXPORT
|
|
# ifdef LtsProjectionWorkstation_EXPORTS
|
|
/* We are building this library */
|
|
# define LTSPROJECTIONWORKSTATION_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define LTSPROJECTIONWORKSTATION_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef LTSPROJECTIONWORKSTATION_NO_EXPORT
|
|
# define LTSPROJECTIONWORKSTATION_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef LTSPROJECTIONWORKSTATION_DEPRECATED
|
|
# define LTSPROJECTIONWORKSTATION_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef LTSPROJECTIONWORKSTATION_DEPRECATED_EXPORT
|
|
# define LTSPROJECTIONWORKSTATION_DEPRECATED_EXPORT LTSPROJECTIONWORKSTATION_EXPORT LTSPROJECTIONWORKSTATION_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef LTSPROJECTIONWORKSTATION_DEPRECATED_NO_EXPORT
|
|
# define LTSPROJECTIONWORKSTATION_DEPRECATED_NO_EXPORT LTSPROJECTIONWORKSTATION_NO_EXPORT LTSPROJECTIONWORKSTATION_DEPRECATED
|
|
#endif
|
|
|
|
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef LTSPROJECTIONWORKSTATION_NO_DEPRECATED
|
|
# define LTSPROJECTIONWORKSTATION_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* LTSPROJECTIONWORKSTATION_EXPORT_H */
|