mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 10:10:34 +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 !!
|
# !! 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()
|
#MARK_AS_ADVANCED()
|
||||||
|
|
||||||
IF(OpenCV_FOUND)
|
IF(OpenCV_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user