Commit 9009d7aa authored by Guillaume Pasero's avatar Guillaume Pasero

PKG: missing Search directories

parent 73b993b6
......@@ -55,5 +55,13 @@ list(APPEND search_dirs "${SUPERBUILD_INSTALL_DIR}/lib/otb/python")
#for otbtest executables.
list(APPEND search_dirs ${OTB_BINARY_DIR}/bin)
# for Qt plugins
if(EXISTS "${SUPERBUILD_INSTALL_DIR}/plugins")
file(GLOB _qt_plugins_subdirs "${SUPERBUILD_INSTALL_DIR}/plugins/*")
foreach(_subdir ${_qt_plugins_subdirs})
list(APPEND search_dirs "${_subdir}")
endforeach()
endif()
set(${search_dirs_result} ${search_dirs} PARENT_SCOPE)
endfunction()
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