Skip to content

Commit

Permalink
Create ros-noetic-rostime.win.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Jan 31, 2024
1 parent aa5267b commit df65332
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patch/ros-noetic-rostime.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/rostime/CMakeLists.txt b/rostime/CMakeLists.txt
index 32a76bb..c47adcd 100644
--- a/rostime/CMakeLists.txt
+++ b/rostime/CMakeLists.txt
@@ -10,6 +10,8 @@ catkin_package(
DEPENDS Boost
)

+add_definitions(-DNOMINMAX)
+
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})

add_library(rostime

0 comments on commit df65332

Please sign in to comment.