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 /client | |
| 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 '')
| -rw-r--r-- | client/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | client/Dockerfile | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 1891e90..ea62308 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -12,4 +12,6 @@ target_link_libraries(client PRIVATE Boost::filesystem Boost::program_options) install(TARGETS client RUNTIME DESTINATION bin) -install_pdbs(TARGETS client DESTINATION bin) +if(MSVC) + install(FILES $<TARGET_PDB_FILE:client> DESTINATION bin OPTIONAL) +endif() diff --git a/client/Dockerfile b/client/Dockerfile index e135b83..b2830c7 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -13,7 +13,7 @@ COPY [".", "$src_dir"] RUN build_deps='bash boost-dev cmake g++ make python3' && \ apk add -q --no-cache $build_deps && \ cd -- "$src_dir" && \ - make install CONFIGURATION=Release CMAKE_FLAGS='-D MATH_SERVER_TESTS=ON -D Boost_USE_STATIC_LIBS=OFF' + make install CONFIGURATION=Release CMAKE_FLAGS='--cmake-arg=-DMATH_SERVER_TESTS=ON --cmake-arg=-DBoost_USE_STATIC_LIBS=OFF' FROM base |
