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 9146580 commit ccd1581
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 @@ -25,6 +25,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")
message("opencv contrib source dir inside tests: ${PARENT_DIR}/WebARKit/tests/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 @@ -39,7 +40,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
${PARENT_DIR}/WebARKit/build/_deps/opencv_contrib-src/modules/xfeatures2d/include
${PARENT_DIR}/WebARKit/tests/build/_deps/opencv_contrib-src/modules/xfeatures2d/include
)

set(webarkit_test
Expand Down

0 comments on commit ccd1581

Please sign in to comment.