aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/CMakeLists.txt4
-rw-r--r--client/Dockerfile2
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