Skip to content
Snippets Groups Projects
Commit 6b17327d authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: find only required itk components. patch proposed by debian

parent 62036fcc
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +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_BUILD "find_package(ITK REQUIRED COMPONENTS ${OTBITK_ITK_REQUIRED_MODULE_LIST} HINTS ${ITK_DIR})")
set(OTBITK_EXPORT_CODE_INSTALL ${OTBITK_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