-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
78 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,22 @@ sources: | |
url: "https://github.com/AprilRobotics/apriltag/archive/refs/tags/v3.1.4.tar.gz" | ||
sha256: "ad2888d432e9ddcad2f639f243479934a4cd677ed5d2f8dee3b3418617b64f5d" | ||
patches: | ||
"3.3.0": | ||
- patch_file: "patches/3.3.0-0002-disable-examples.patch" | ||
patch_type: "conan" | ||
patch_description: "Disable building of examples" | ||
"3.2.0": | ||
- patch_file: "patches/3.2.0-0001-fix-cmake.patch" | ||
Check warning on line 20 in recipes/apriltag/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
- patch_file: "patches/3.2.0-0002-disable-examples.patch" | ||
patch_type: "conan" | ||
patch_description: "Disable building of examples" | ||
"3.1.7": | ||
- patch_file: "patches/3.1.4-0001-fix-cmake.patch" | ||
Check warning on line 25 in recipes/apriltag/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
- patch_file: "patches/3.1.7-0002-disable-examples.patch" | ||
patch_type: "conan" | ||
patch_description: "Disable building of examples" | ||
"3.1.4": | ||
- patch_file: "patches/3.1.4-0001-fix-cmake.patch" | ||
Check warning on line 30 in recipes/apriltag/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
- patch_file: "patches/3.1.4-0002-disable-examples.patch" | ||
patch_type: "conan" | ||
patch_description: "Disable building of examples" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
recipes/apriltag/all/patches/3.1.4-0002-disable-examples.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- CMakeLists.txt | ||
+++ CMakeLists.txt | ||
@@ -101,6 +101,7 @@ | ||
|
||
|
||
# Examples | ||
+if(BUILD_EXAMPLES) | ||
# apriltag_demo | ||
add_executable(apriltag_demo example/apriltag_demo.c) | ||
target_link_libraries(apriltag_demo apriltag) | ||
@@ -115,3 +116,4 @@ | ||
|
||
# install example programs | ||
install(TARGETS apriltag_demo RUNTIME DESTINATION bin) | ||
+endif() |
15 changes: 15 additions & 0 deletions
15
recipes/apriltag/all/patches/3.1.7-0002-disable-examples.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- CMakeLists.txt | ||
+++ CMakeLists.txt | ||
@@ -139,6 +139,7 @@ | ||
|
||
|
||
# Examples | ||
+if(BUILD_EXAMPLES) | ||
# apriltag_demo | ||
add_executable(apriltag_demo example/apriltag_demo.c) | ||
target_link_libraries(apriltag_demo apriltag) | ||
@@ -153,3 +154,4 @@ | ||
|
||
# install example programs | ||
install(TARGETS apriltag_demo RUNTIME DESTINATION bin) | ||
+endif() |
15 changes: 15 additions & 0 deletions
15
recipes/apriltag/all/patches/3.2.0-0002-disable-examples.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- CMakeLists.txt | ||
+++ CMakeLists.txt | ||
@@ -162,6 +162,7 @@ | ||
|
||
|
||
# Examples | ||
+if(BUILD_EXAMPLES) | ||
# apriltag_demo | ||
add_executable(apriltag_demo example/apriltag_demo.c) | ||
target_link_libraries(apriltag_demo apriltag) | ||
@@ -179,3 +180,4 @@ | ||
|
||
# install example programs | ||
install(TARGETS apriltag_demo RUNTIME DESTINATION bin) | ||
+endif() |
15 changes: 15 additions & 0 deletions
15
recipes/apriltag/all/patches/3.3.0-0002-disable-examples.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- CMakeLists.txt | ||
+++ CMakeLists.txt | ||
@@ -159,6 +159,7 @@ | ||
endif (NOT Python3_NOT_FOUND AND NOT Numpy_NOT_FOUND AND PYTHONLIBS_FOUND AND BUILD_PYTHON_WRAPPER) | ||
|
||
# Examples | ||
+if (BUILD_EXAMPLES) | ||
# apriltag_demo | ||
add_executable(apriltag_demo example/apriltag_demo.c) | ||
target_link_libraries(apriltag_demo ${PROJECT_NAME}) | ||
@@ -177,3 +178,4 @@ | ||
|
||
# install example programs | ||
install(TARGETS apriltag_demo RUNTIME DESTINATION bin) | ||
+endif() |