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

[skip-ci] specify config/module un cmake find package

parent 3280ebb2
No related branches found
No related tags found
1 merge request!1Resolve "Adapt to core cmake refactor"
Pipeline #10801 skipped
...@@ -81,8 +81,12 @@ string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER) ...@@ -81,8 +81,12 @@ string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER)
#find dependencies. #find dependencies.
# ============EXAMPLE================== # ============EXAMPLE==================
<<<<<<< Updated upstream
FIND_PACKAGE(wolfcore REQUIRED) FIND_PACKAGE(wolfcore REQUIRED)
FIND_PACKAGE(Eigen3 3.3 REQUIRED) FIND_PACKAGE(Eigen3 3.3 REQUIRED)
=======
FIND_PACKAGE(wolfcore REQUIRED CONFIG)
>>>>>>> Stashed changes
# Define the directory where will be the configured config.h # Define the directory where will be the configured config.h
SET(WOLF_CONFIG_DIR ${PROJECT_BINARY_DIR}/conf/${PROJECT_NAME}/internal) SET(WOLF_CONFIG_DIR ${PROJECT_BINARY_DIR}/conf/${PROJECT_NAME}/internal)
...@@ -274,7 +278,7 @@ INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/") ...@@ -274,7 +278,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