mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-10 05:20:19 +08:00
Updated version to 0.3.1
Added search of OpenCV dir when OpenCV_DIR is not set (unix) Link UtiLite 0.2.12 git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@317 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -66,6 +66,17 @@ if(NOT OpenCV_DIR)
|
||||
ENDIF(ROSPACK_EXEC)
|
||||
endif(NOT OpenCV_DIR)
|
||||
|
||||
if(NOT OpenCV_DIR)
|
||||
# typical root dirs of installations, exactly one of them is used
|
||||
SET (OpenCV_POSSIBLE_ROOT_DIRS
|
||||
/usr/local
|
||||
/usr/opt
|
||||
/usr
|
||||
)
|
||||
find_path(OpenCV_PATH "OpenCVConfig.cmake" HINTS ${OpenCV_POSSIBLE_ROOT_DIRS} PATH_SUFFIXES "share/opencv")
|
||||
SET(OpenCV_DIR ${OpenCV_PATH})
|
||||
endif(NOT OpenCV_DIR)
|
||||
|
||||
##====================================================
|
||||
## Find OpenCV libraries
|
||||
##----------------------------------------------------
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#
|
||||
#
|
||||
|
||||
SET(UTILITE_VERSION_REQUIRED 0.2.11)
|
||||
SET(UTILITE_VERSION_REQUIRED 0.2.12)
|
||||
|
||||
SET(UTILITE_ROOT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user