File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ if(NOT TIFF_FOUND)
56
56
add_library (TIFF::TIFF ALIAS tiff)
57
57
endif ()
58
58
59
+ find_package (OpenCV REQUIRED)
60
+ #message(STATUS ${OpenCV_INCLUDE_DIRS})
59
61
60
62
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /RELIGHT_VERSION" )
61
63
# version is read from RELIGHT_VERSION file
Original file line number Diff line number Diff line change @@ -20,14 +20,16 @@ SET(SOURCES
20
20
imagealignment.cpp
21
21
)
22
22
23
- find_package (OpenCV REQUIRED)
24
- message ( STATUS ${OpenCV_LIBS} )
23
+
24
+
25
25
26
26
add_executable (align ${HEADERS} ${SOURCES} )
27
27
target_include_directories (
28
28
align PUBLIC
29
29
${CMAKE_CURRENT_SOURCE_DIR}
30
- ${JPEG_INCLUDE_DIR} )
30
+ ${JPEG_INCLUDE_DIR}
31
+ ${OpenCV_INCLUDE_DIRS}
32
+ )
31
33
32
34
target_link_libraries (
33
35
align PUBLIC
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ target_include_directories(
177
177
${JPEG_INCLUDE_DIR}
178
178
TIFF::TIFF
179
179
${EIGEN3_INCLUDE_DIR}
180
+ ${OpenCV_INCLUDE_DIRS}
180
181
../external
181
182
)
182
183
You can’t perform that action at this time.
0 commit comments