From 4ec2a87a51e24ebc8861625b567e218c3336563a Mon Sep 17 00:00:00 2001 From: Evan Flynn <6157095+flynneva@users.noreply.github.com> Date: Thu, 6 May 2021 12:58:02 -0700 Subject: [PATCH] fix windows build for image_geometry --- image_geometry/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/image_geometry/CMakeLists.txt b/image_geometry/CMakeLists.txt index 643fa312b..a76aadf57 100644 --- a/image_geometry/CMakeLists.txt +++ b/image_geometry/CMakeLists.txt @@ -18,7 +18,9 @@ endif() find_package(OpenCV REQUIRED COMPONENTS calib3d core highgui imgproc) find_package(sensor_msgs REQUIRED) -include_directories(include) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include + ${OpenCV_INCLUDE_DIRS} +) # add a library add_library(${PROJECT_NAME}