Skip to content

Commit

Permalink
Merge pull request #611 from kwizart/cv_headers_soname
Browse files Browse the repository at this point in the history
* Fix headers for opencv2 and later
* Drop PROJECT_VER_MINOR in APIVER

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
  • Loading branch information
piedar authored Mar 3, 2020
2 parents 0ae4663 + 79e357e commit 7398a41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ set (PROJECT_VER_PATCH 1)
set (PROJECT_VER
"${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}.${PROJECT_VER_PATCH}")
set (PROJECT_APIVER
"${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}")
"${PROJECT_VER_MAJOR}")

OPTION(BUILD_REDIST_PACKAGE "Build libfreenect in a legally-redistributable manner (only affects audio)" ON)
OPTION(BUILD_EXAMPLES "Build example programs" ON)
Expand Down
3 changes: 1 addition & 2 deletions wrappers/opencv/cvdemo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/highgui/highgui_c.h>
#include <stdio.h>
#include "libfreenect_cv.h"

Expand Down
2 changes: 1 addition & 1 deletion wrappers/opencv/libfreenect_cv.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <opencv/cv.h>
#include <opencv2/core/core_c.h>

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 7398a41

Please sign in to comment.