build: default to system tomlplusplus and CLI11
This commit is contained in:
committed by
Chris Rizzitello
parent
60967bbc8d
commit
265ab87997
@ -31,7 +31,9 @@ install_freebsd() {
|
||||
qt6-tools \
|
||||
gtk3 \
|
||||
googletest \
|
||||
pugixml
|
||||
pugixml \
|
||||
tomlplusplus \
|
||||
cli11
|
||||
}
|
||||
|
||||
install_openbsd() {
|
||||
|
||||
@ -24,8 +24,12 @@ meson_bin = env.get_python_executable("meson")
|
||||
def setup(no_system_list, static_list):
|
||||
cmd = [meson_bin, "setup", build_dir]
|
||||
|
||||
# TODO: These special Windows exceptions should probably be in Meson
|
||||
# or somewhere other than this script, as it's a bit hacky.
|
||||
if env.is_windows():
|
||||
cmd.append("-Dsystem-gtest=false")
|
||||
cmd.append("-Dsystem-tomlplusplus=false")
|
||||
cmd.append("-Dsystem-cli11=false")
|
||||
|
||||
for subproject in no_system_list or []:
|
||||
cmd.append(f"-Dsystem-{subproject}=false")
|
||||
|
||||
Reference in New Issue
Block a user