mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 23:12:45 +08:00
Added maximum opencv version
This commit is contained in:
@@ -46,6 +46,9 @@ FIND_PACKAGE( OpenCV REQUIRED )
|
|||||||
IF (${OpenCV_VERSION} VERSION_LESS 2.4.7)
|
IF (${OpenCV_VERSION} VERSION_LESS 2.4.7)
|
||||||
MESSAGE(FATAL_ERROR "OpenCV version is not compatible : ${OpenCV_VERSION}")
|
MESSAGE(FATAL_ERROR "OpenCV version is not compatible : ${OpenCV_VERSION}")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
IF (${OpenCV_VERSION} VERSION_GREATER 2.4.12)
|
||||||
|
MESSAGE(FATAL_ERROR "OpenCV version is not compatible : ${OpenCV_VERSION}")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
include_directories(./openalpr )
|
include_directories(./openalpr )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user