Commit 6278c83c authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

[skip-ci] Specify MODULE or CONFIG in find_package

parent 550f91a6
......@@ -74,8 +74,8 @@ ENDIF()
option(_WOLF_TRACE "Enable wolf tracing macro" ON)
# ============ DEPENDENCIES ==================
FIND_PACKAGE(wolfcore REQUIRED)
FIND_PACKAGE(OpenCV REQUIRED
FIND_PACKAGE(wolfcore REQUIRED CONFIG)
FIND_PACKAGE(OpenCV REQUIRED CONFIG
COMPONENTS core imgcodecs highgui features2d calib3d video
)
IF(OpenCV_FOUND)
......@@ -269,7 +269,7 @@ INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/")
export(PACKAGE ${PLUGIN_NAME})
FIND_PACKAGE(Doxygen)
FIND_PACKAGE(Doxygen MODULE)
FIND_PATH(IRI_DOC_DIR doxygen.conf ${CMAKE_SOURCE_DIR}/doc/iri_doc/)
IF (IRI_DOC_DIR)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment