Skip to content
Snippets Groups Projects
Commit 6278c83c authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

[skip-ci] Specify MODULE or CONFIG in find_package

parent 550f91a6
No related branches found
No related tags found
2 merge requests!36After cmake and const refactor,!33Resolve "Adapt to core CMakeLists.txt refactor"
...@@ -74,8 +74,8 @@ ENDIF() ...@@ -74,8 +74,8 @@ ENDIF()
option(_WOLF_TRACE "Enable wolf tracing macro" ON) option(_WOLF_TRACE "Enable wolf tracing macro" ON)
# ============ DEPENDENCIES ================== # ============ DEPENDENCIES ==================
FIND_PACKAGE(wolfcore REQUIRED) FIND_PACKAGE(wolfcore REQUIRED CONFIG)
FIND_PACKAGE(OpenCV REQUIRED FIND_PACKAGE(OpenCV REQUIRED CONFIG
COMPONENTS core imgcodecs highgui features2d calib3d video COMPONENTS core imgcodecs highgui features2d calib3d video
) )
IF(OpenCV_FOUND) IF(OpenCV_FOUND)
...@@ -269,7 +269,7 @@ INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/") ...@@ -269,7 +269,7 @@ INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/")
export(PACKAGE ${PLUGIN_NAME}) export(PACKAGE ${PLUGIN_NAME})
FIND_PACKAGE(Doxygen) FIND_PACKAGE(Doxygen MODULE)
FIND_PATH(IRI_DOC_DIR doxygen.conf ${CMAKE_SOURCE_DIR}/doc/iri_doc/) FIND_PATH(IRI_DOC_DIR doxygen.conf ${CMAKE_SOURCE_DIR}/doc/iri_doc/)
IF (IRI_DOC_DIR) IF (IRI_DOC_DIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment