diff options
| author | Egor Tensin <egor@tensin.name> | 2026-05-17 20:05:41 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-05-17 20:08:18 +0200 |
| commit | 077d833049022ea9aee86ade93a20c8d05879fe6 (patch) | |
| tree | f1d7a43c7300c84a23f912a9228b87a7488127c8 /Makefile | |
| parent | workflows/ci: do Docker builds on PRs (diff) | |
| download | math-server-077d833049022ea9aee86ade93a20c8d05879fe6.tar.gz math-server-077d833049022ea9aee86ade93a20c8d05879fe6.zip | |
upgrade cmake-common
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
