mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 17:00:35 +05:00
CMake procedure: Detecting OpenCV third-party product on Windows
This commit is contained in:
parent
544fdbbac5
commit
10ae356a87
@ -23,7 +23,14 @@
|
||||
#
|
||||
# !! Please read the generic detection procedure in SalomeMacros.cmake !!
|
||||
#
|
||||
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(OpenCV OpenCV_DIR 2)
|
||||
SET(UpCount 2)
|
||||
|
||||
IF (WIN32)
|
||||
SET(UpCount 0)
|
||||
ENDIF (WIN32)
|
||||
|
||||
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(OpenCV OpenCV_DIR ${UpCount})
|
||||
|
||||
#MARK_AS_ADVANCED()
|
||||
|
||||
IF(OpenCV_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user