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

PKG: missing Search directories

parent 73b993b6
No related branches found
No related tags found
No related merge requests found
......@@ -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()
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