Skip to content

Commit

Permalink
fix for extra modules path
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Sep 14, 2023
1 parent ea3d9ce commit ebfddf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebARKit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ set(BUILD_opencv_tracking OFF)
set(BUILD_opencv_stereo OFF)
set(BUILD_opencv_version OFF)

set(OPENCV_EXTRA_MODULES_PATH ../${opencv_contrib_SOURCE_DIR}/modules/)
set(OPENCV_EXTRA_MODULES_PATH ${opencv_contrib_SOURCE_DIR}/modules/)

FetchContent_Declare(
opencv
Expand All @@ -69,7 +69,7 @@ FetchContent_Declare(

FetchContent_MakeAvailable(opencv opencv_contrib)

set(OPENCV_EXTRA_MODULES_PATH ../${opencv_contrib_SOURCE_DIR}/modules/)
set(OPENCV_EXTRA_MODULES_PATH ${opencv_contrib_SOURCE_DIR}/modules/)

set(BUILD_opencv_xfeatures2d ON)

Expand Down

0 comments on commit ebfddf2

Please sign in to comment.