Commit fd3096fa authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: find_package call needed to define exported libraries

parent 995eb96c
......@@ -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()
Markdown is supported
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