Skip to content

Commit 95559f6

Browse files
committed
removed opencv install from macos
1 parent 2d78259 commit 95559f6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@ if(NOT TIFF_FOUND)
5656
add_library(TIFF::TIFF ALIAS tiff)
5757
endif()
5858

59-
find_package(OpenCV REQUIRED)
60-
#message(STATUS ${OpenCV_INCLUDE_DIRS})
59+
if(NOT APPLE)
60+
find_package(OpenCV REQUIRED)
61+
#message(STATUS ${OpenCV_INCLUDE_DIRS})
62+
endif()
63+
6164

6265
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/RELIGHT_VERSION")
6366
# version is read from RELIGHT_VERSION file

0 commit comments

Comments
 (0)