Skip to content

Commit

Permalink
correct path for xfeatures2d include for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Sep 15, 2023
1 parent c1cceb0 commit 9146580
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ add_executable(
)

get_filename_component(PARENT_DIR ../ ABSOLUTE)
message("opencv contrib source dir: ${PARENT_DIR}/WebARKit/build/_deps/opencv_contrib-src/modules/xfeatures2d/include")

target_include_directories(webarkit_test PRIVATE "${PARENT_DIR}/WebARKit/include")
target_include_directories(webarkit_test PRIVATE "${PARENT_DIR}/WebARKit/WebARKitTrackers/WebARKitOpticalTracking/include")
Expand All @@ -38,7 +39,7 @@ target_include_directories(webarkit_test PRIVATE
${OPENCV_MODULE_opencv_imgcodecs_LOCATION}/include
${OPENCV_MODULE_opencv_video_LOCATION}/include
${OPENCV_MODULE_opencv_xfeatures2d_LOCATION}/include
${opencv_contrib_SOURCE_DIR}/modules/xfeatures2d/include
${PARENT_DIR}/WebARKit/build/_deps/opencv_contrib-src/modules/xfeatures2d/include
)

set(webarkit_test
Expand Down

0 comments on commit 9146580

Please sign in to comment.