Skip to content

Commit

Permalink
[cmake] added compile definition for OpenCV
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
simogasp committed Oct 2, 2015
1 parent b5a5433 commit fb19dfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ IF(OpenMVG_USE_OPENCV)
MESSAGE(STATUS "OpenCV was not found. Disabling OpenCV support.")
UPDATE_CACHE_VARIABLE(OpenMVG_USE_OPENCV OFF)
UPDATE_CACHE_VARIABLE(OpenMVG_USE_OCVSIFT OFF)
# add a definition that allows the conditional compiling
ADD_DEFINITIONS(-DHAVE_OPENCV)
ELSE(NOT OpenCV_FOUND)
INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})
IF(OpenMVG_USE_OCVSIFT)
Expand Down

0 comments on commit fb19dfd

Please sign in to comment.