Skip to content

Commit 9730aaa

Browse files
Refactor CMakeLists.txt for yaml-cpp and Windows settings
Updated CMakeLists.txt to handle yaml-cpp linking conditionally and set Windows export options.
1 parent 3a39461 commit 9730aaa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

patch/ros-humble-ur-calibration.win.patch

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
22
index e95014a1..ec5e5bb4 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5-
@@ -5,7 +5,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
6-
add_compile_options(-Wall -Wextra -Wpedantic)
7-
endif()
8-
9-
-add_compile_options(-Wno-unused-parameter)
10-
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
11-
12-
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
13-
message("${PROJECT_NAME}: You did not request a specific build type: selecting 'RelWithDebInfo'.")
145
@@ -18,6 +18,7 @@ find_package(ur_robot_driver REQUIRED)
156

167
find_package(Eigen3 REQUIRED)
@@ -34,3 +25,4 @@ index e95014a1..ec5e5bb4 100644
3425
ament_target_dependencies(calibration
3526
rclcpp
3627
ur_robot_driver
28+

0 commit comments

Comments
 (0)