File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Updated 2025.05 to 3.10 since compatibility with CMake < 3.10 will be removed from a future version of CMake.
2
2
CMAKE_MINIMUM_REQUIRED (VERSION 3.10)
3
+ # https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html
4
+ option (BUILD_SHARED_LIBS "Build using shared libraries" ON )
3
5
4
6
if (WIN32 )
5
7
set (CMAKE_TOOLCHAIN_FILE C:/vcpkg/scripts/buildsystems/vcpkg.cmake)
@@ -41,7 +43,7 @@ endif()
41
43
# As of 2025.05, Not using GLOB_RECURSE as it's explicitly discouraged.
42
44
# https://stackoverflow.com/questions/3201154/automatically-add-all-files-in-a-folder-to-a-target-using-cmake
43
45
# https://cmake.org/cmake/help/latest/command/file.html#filesystem
44
- ADD_LIBRARY (dqrobotics SHARED
46
+ ADD_LIBRARY (dqrobotics
45
47
src/DQ.cpp
46
48
47
49
src/internal /_dq_linesegment.cpp
You can’t perform that action at this time.
0 commit comments