Skip to content

Commit

Permalink
Fixes #8. OpenCV 3.3.0 build error with python on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
sagi-z committed Aug 14, 2017
1 parent 5d8d392 commit 3ae5e35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ ELSE()
ENDIF()

# These vars are used by python/CMakeLists.txt
IF(NOT DEFINED OpenCV_LIB_DIR OR OpenCV_LIB_DIR STREQUAL "")
SET(OpenCV_LIB_DIR ${OpenCV_LIB_PATH})
ENDIF()
MESSAGE("OpenCV_LIB_DIR is: ${OpenCV_LIB_DIR}")
SET(BGSUBCNT_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR})
SET(BGSUBCNT_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR})

Expand Down

0 comments on commit 3ae5e35

Please sign in to comment.