diff --git a/apriltag_detector_umich/CMakeLists.txt b/apriltag_detector_umich/CMakeLists.txt index 18d8fbd..2a5ce73 100644 --- a/apriltag_detector_umich/CMakeLists.txt +++ b/apriltag_detector_umich/CMakeLists.txt @@ -20,6 +20,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic -Werror) endif() set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +add_definitions(-DNOMINMAX) # find dependencies find_package(ament_cmake REQUIRED)