mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
Fix cmark wrap
This commit is contained in:
parent
0307f8e9ef
commit
0bca772760
2 changed files with 18 additions and 1 deletions
12
subprojects/packagefiles/cmark/cmark_export.h.in
Normal file
12
subprojects/packagefiles/cmark/cmark_export.h.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#ifndef CMARK_EXPORT_H
|
||||||
|
#define CMARK_EXPORT_H
|
||||||
|
|
||||||
|
#define CMARK_EXPORT
|
||||||
|
#define CMARK_NO_EXPORT
|
||||||
|
#define CMARK_DEPRECATED
|
||||||
|
#define CMARK_DEPRECATED_EXPORT CMARK_EXPORT CMARK_DEPRECATED
|
||||||
|
#define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT CMARK_DEPRECATED
|
||||||
|
#define CMARK_NO_DEPRECATED
|
||||||
|
|
||||||
|
#endif /* CMARK_EXPORT_H */
|
||||||
|
|
|
@ -57,18 +57,23 @@ version_file = configure_file(input: 'src/cmark_version.h.in',
|
||||||
format: 'cmake@',
|
format: 'cmake@',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
export_file = configure_file(input: 'cmark_export.h.in', output: 'cmark_export.h', copy: true)
|
||||||
|
|
||||||
|
|
||||||
install_headers(
|
install_headers(
|
||||||
'src/cmark.h',
|
'src/cmark.h',
|
||||||
config_file,
|
config_file,
|
||||||
version_file,
|
version_file,
|
||||||
|
export_file,
|
||||||
)
|
)
|
||||||
|
|
||||||
inc = include_directories('src')
|
inc = include_directories('src', '.')
|
||||||
cmark = library(
|
cmark = library(
|
||||||
'cmark',
|
'cmark',
|
||||||
sources,
|
sources,
|
||||||
config_file,
|
config_file,
|
||||||
version_file,
|
version_file,
|
||||||
|
export_file,
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue