meson: fix build on macOS
This commit is contained in:
parent
5c29d590c9
commit
30b6690dca
|
@ -4,13 +4,23 @@ taggedalgebraic_src = [
|
|||
'visit.d',
|
||||
]
|
||||
|
||||
taggedalgebraic_lib = library(
|
||||
'taggedalgebraic',
|
||||
taggedalgebraic_src,
|
||||
version: project_version,
|
||||
install: true,
|
||||
include_directories: include_directories('../')
|
||||
)
|
||||
# https://github.com/mesonbuild/meson/issues/6862
|
||||
if build_machine.system() == 'darwin'
|
||||
taggedalgebraic_lib = library(
|
||||
'taggedalgebraic',
|
||||
taggedalgebraic_src,
|
||||
install: true,
|
||||
include_directories: include_directories('../'),
|
||||
)
|
||||
else
|
||||
taggedalgebraic_lib = library(
|
||||
'taggedalgebraic',
|
||||
taggedalgebraic_src,
|
||||
install: true,
|
||||
include_directories: include_directories('../'),
|
||||
version: project_version,
|
||||
)
|
||||
endif
|
||||
|
||||
pkgc = import('pkgconfig')
|
||||
|
||||
|
|
Loading…
Reference in a new issue