Skip to content

Update CMakeLists.txt to allow building with CMake 3.15#21

Merged
dprokoptsev merged 1 commit intohudson-trading:masterfrom
daipingh:cmake_3_15
Jul 16, 2025
Merged

Update CMakeLists.txt to allow building with CMake 3.15#21
dprokoptsev merged 1 commit intohudson-trading:masterfrom
daipingh:cmake_3_15

Conversation

@daipingh
Copy link
Contributor

@daipingh daipingh commented Jul 16, 2025

We can use -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded to set /MT option since cmake 3.15 and later.
Reference: https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html

Um... By the way, I've only actually tested with CMake 3.18+.

@daipingh daipingh marked this pull request as ready for review July 16, 2025 04:20
@daipingh daipingh changed the title Update CMakeLists.txt for seamless builds with recent CMake. Update CMakeLists.txt to allow building with CMake 3.15 Jul 16, 2025
@dprokoptsev dprokoptsev merged commit a48ca6e into hudson-trading:master Jul 16, 2025
11 checks passed
@daipingh daipingh deleted the cmake_3_15 branch July 17, 2025 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants