Add ability to build static lib

This commit is contained in:
2023-02-10 09:10:31 +01:00
parent a0968bba3a
commit 2e8bbf6e30
2 changed files with 14 additions and 5 deletions
+7 -3
View File
@@ -21,10 +21,14 @@
#include <QtCore/qglobal.h>
#if defined(LIBXISF_LIBRARY)
# define LIBXISF_EXPORT Q_DECL_EXPORT
#ifdef LIBXISF_SHARED_LIB
# if defined(LIBXISF_LIBRARY)
# define LIBXISF_EXPORT Q_DECL_EXPORT
# else
# define LIBXISF_EXPORT Q_DECL_IMPORT
# endif
#else
# define LIBXISF_EXPORT Q_DECL_IMPORT
# define LIBXISF_EXPORT
#endif
#endif // LIBXISF_GLOBAL_H