aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-05-17 20:05:41 +0200
committerEgor Tensin <egor@tensin.name>2026-05-17 20:08:18 +0200
commit077d833049022ea9aee86ade93a20c8d05879fe6 (patch)
treef1d7a43c7300c84a23f912a9228b87a7488127c8 /Makefile
parentworkflows/ci: do Docker builds on PRs (diff)
downloadmath-server-077d833049022ea9aee86ade93a20c8d05879fe6.tar.gz
math-server-077d833049022ea9aee86ade93a20c8d05879fe6.zip
upgrade cmake-common
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f420a9e..0796d97 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,8 @@ TOOLSET ?= auto
PLATFORM ?= auto
CONFIGURATION ?= Debug
BOOST_VERSION ?= 1.72.0
-BOOST_LIBRARIES := --with-filesystem --with-program_options --with-regex --with-test
-CMAKE_FLAGS ?= -D MATH_SERVER_TESTS=ON
+BOOST_LIBRARIES := filesystem program_options regex test
+CMAKE_FLAGS ?= --cmake-arg=-DMATH_SERVER_TESTS=ON
INSTALL_PREFIX ?= $(install_dir)
# Target platforms (used by buildx):
@@ -66,10 +66,10 @@ build:
--configuration '$(call escape,$(CONFIGURATION))' \
--install '$(call escape,$(INSTALL_PREFIX))' \
--boost '$(call escape,$(boost_dir))' \
+ $(CMAKE_FLAGS) \
-- \
'$(call escape,$(src_dir))' \
- '$(call escape,$(cmake_dir))' \
- $(CMAKE_FLAGS)
+ '$(call escape,$(cmake_dir))'
.PHONY: install
install: build