Skip to content

Commit d017e9f

Browse files
committed
update apriltag detector patch
Signed-off-by: wep21 <[email protected]>
1 parent 678d2ce commit d017e9f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index 35b0303..b7b031a 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -16,7 +16,10 @@
6+
cmake_minimum_required(VERSION 3.16)
7+
project(apriltag_detector)
8+
9+
-add_compile_options(-Wall -Wextra -Wpedantic -Werror)
10+
+if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
11+
+ add_compile_options(-Wall -Wextra -Wpedantic -Werror)
12+
+endif()
13+
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
14+
15+
# find dependencies
16+
find_package(ament_cmake REQUIRED)

0 commit comments

Comments
 (0)