mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Improve style in meson.build
This commit is contained in:
+6
-6
@@ -154,13 +154,13 @@ boost_dep = dependency('boost', version : '>=1.66', static : with_static_boost)
|
|||||||
if get_option('build.cpp_args').contains('-m32')
|
if get_option('build.cpp_args').contains('-m32')
|
||||||
if with_static_boost
|
if with_static_boost
|
||||||
boost_filesystem_dep = declare_dependency(
|
boost_filesystem_dep = declare_dependency(
|
||||||
link_args : '-staticboost_filesystem',
|
link_args : ['-staticboost_filesystem'],
|
||||||
compile_args : '-DBOOST_FILESYSTEM_STATIC_LINK=1',
|
compile_args : ['-DBOOST_FILESYSTEM_STATIC_LINK=1'],
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
boost_filesystem_dep = declare_dependency(
|
boost_filesystem_dep = declare_dependency(
|
||||||
link_args : '-lboost_filesystem',
|
link_args : ['-lboost_filesystem'],
|
||||||
compile_args : '-DBOOST_FILESYSTEM_DYN_LINK=1',
|
compile_args : ['-DBOOST_FILESYSTEM_DYN_LINK=1'],
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
@@ -629,9 +629,9 @@ if with_bitbridge
|
|||||||
'/usr/lib',
|
'/usr/lib',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
compile_args : with_static_boost
|
compile_args : [with_static_boost
|
||||||
? '-DBOOST_FILESYSTEM_STATIC_LINK=1'
|
? '-DBOOST_FILESYSTEM_STATIC_LINK=1'
|
||||||
: '-DBOOST_FILESYSTEM_DYN_LINK=1',
|
: '-DBOOST_FILESYSTEM_DYN_LINK=1'],
|
||||||
)
|
)
|
||||||
xcb_32bit_dep = winegcc.find_library('xcb')
|
xcb_32bit_dep = winegcc.find_library('xcb')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user