Skip to content
Snippets Groups Projects
Commit fd3096fa authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: find_package call needed to define exported libraries

parent 995eb96c
Branches
Tags
No related merge requests found
......@@ -2,5 +2,7 @@ project(OTBITK)
set(OTBITK_SYSTEM_INCLUDE_DIRS ${ITK_INCLUDE_DIRS})
set(OTBITK_LIBRARIES "${ITK_LIBRARIES}")
set(OTBITK_EXPORT_CODE_BUILD "find_package(ITK REQUIRED HINTS ${ITK_DIR})")
set(OTBITK_EXPORT_CODE_INSTALL ${OTBITK_EXPORT_CODE_BUILD})
otb_module_impl()
......@@ -2,5 +2,7 @@ project(OTBOpenCV)
set(OTBOpenCV_SYSTEM_INCLUDE_DIRS ${OpenCV_INCLUDE_DIRS})
set(OTBOpenCV_LIBRARIES "${OpenCV_LIBS}")
set(OTBOpenCV_EXPORT_CODE_BUILD "find_package(OpenCV REQUIRED HINTS ${OpenCV_DIR})")
set(OTBOpenCV_EXPORT_CODE_INSTALL ${OTBOpenCV_EXPORT_CODE_BUILD})
otb_module_impl()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment