Skip to content

Commit

Permalink
Merge pull request #186 from christian-rauch/cv4
Browse files Browse the repository at this point in the history
switch to OpenCV4
  • Loading branch information
wxmerkt authored Feb 4, 2022
2 parents d83e1b0 + 0b86859 commit ee28e35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.1)
project(apriltag VERSION 3.1.0 LANGUAGES C CXX)
project(apriltag VERSION 3.2.0 LANGUAGES C CXX)

if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
Expand Down
4 changes: 2 additions & 2 deletions example/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CC = gcc
CXX = g++

CPPFLAGS = -I..
CPPFLAGS = -I.. `pkg-config --cflags opencv4`
CFLAGS = -g -std=gnu99 -Wall -Wno-unused-parameter -Wno-unused-function -O3
CXXFLAGS = -g -Wall -O3
LDFLAGS = -lpthread -lm
Expand All @@ -17,7 +17,7 @@ apriltag_demo: apriltag_demo.o ../libapriltag.a

opencv_demo: opencv_demo.o ../libapriltag.a
@echo " [$@]"
@$(CXX) -o $@ $^ $(LDFLAGS) `pkg-config --libs opencv`
@$(CXX) -o $@ $^ $(LDFLAGS) `pkg-config --libs opencv4`

%.o: %.c
@echo " $@"
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>apriltag</name>
<version>3.1.7</version>
<version>3.2.0</version>
<description>AprilTag detector library</description>

<maintainer email="[email protected]">Max Krogius</maintainer>
Expand Down

0 comments on commit ee28e35

Please sign in to comment.