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:
matlabbe
2011-09-16 18:24:39 +00:00
parent 4a3317dd06
commit 4bec076f24
3 changed files with 13 additions and 2 deletions
+11
View File
@@ -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
##----------------------------------------------------
+1 -1
View File
@@ -9,7 +9,7 @@
#
#
SET(UTILITE_VERSION_REQUIRED 0.2.11)
SET(UTILITE_VERSION_REQUIRED 0.2.12)
SET(UTILITE_ROOT)