diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-03 08:13:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-03 08:15:45 +0100 |
commit | 1beb7dfe8cd9a288893783862ce9f2e4a39239ab (patch) | |
tree | cd4afa0478b3029ba7ca1fbcf2ef28156a3ac739 /cmake | |
parent | 3319f6bed166832020cbd4601b06ffcfac5c2d24 (diff) |
proto/simconnect: fix activation context again
Issue: #804
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index b60d8e65..a2db939d 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -10,6 +10,16 @@ set(new-hier-path "#pragma once # include <QString> # include \"compat/base-path.hpp\" #endif + +#if defined __APPLE__ +# define OPENTRACK_LIBRARY_EXTENSION \"dylib\" +#elif defined _WIN32 +# define OPENTRACK_LIBRARY_EXTENSION \"dll\" +#else +# define OPENTRACK_LIBRARY_EXTENSION \"so\" +#endif + +#define OPENTRACK_LIBRARY_PREFIX \"\" #define OPENTRACK_LIBRARY_PATH \"${opentrack-hier-path}\" #define OPENTRACK_DOC_PATH \"${opentrack-hier-doc}\" #define OPENTRACK_CONTRIB_PATH \"${opentrack-hier-doc}contrib/\" |