We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f97d4 commit a5c38a1Copy full SHA for a5c38a1
CMakeLists.txt
@@ -13,6 +13,9 @@ endif()
13
14
project(dqrobotics)
15
16
+set(CMAKE_CXX_STANDARD 17)
17
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
18
+
19
find_package(Eigen3 REQUIRED)
20
21
# As of 2025.05, Not using GLOB_RECURSE as it's explicitly discouraged.
@@ -62,7 +65,9 @@ target_include_directories(dqrobotics PUBLIC
62
65
63
66
if(UNIX)
64
67
# WIN32 does not accept these flags
- add_compile_options(-Werror=return-type -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Woverloaded-virtual -fPIC)
68
+ target_compile_options(dqrobotics PUBLIC
69
+ -Werror=return-type -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Woverloaded-virtual -fPIC
70
+ )
71
endif()
72
73
if(WIN32)
0 commit comments