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

ENH: compile and install otb_loader tool in packages

parent f305aa1a
No related branches found
No related tags found
No related merge requests found
...@@ -199,16 +199,19 @@ macro(macro_super_package) ...@@ -199,16 +199,19 @@ macro(macro_super_package)
if(LINUX) if(LINUX)
list(APPEND program_list "${PATCHELF_PROGRAM}") list(APPEND program_list "${PATCHELF_PROGRAM}")
endif() endif()
endif() endif()
foreach(prog ${program_list}) foreach(prog ${program_list})
install( install(
PROGRAMS ${prog} PROGRAMS ${prog}
DESTINATION ${PKG_STAGE_DIR}) DESTINATION ${PKG_STAGE_DIR})
endforeach() endforeach()
############# otb_loader executable ################
add_executable(otb_loader ${PACKAGE_SUPPORT_FILES_DIR}/otb_loader.cxx)
target_link_libraries(otb_loader ${CMAKE_DL_LIBS})
install(TARGETS otb_loader
RUNTIME DESTINATION ${PKG_STAGE_DIR}/bin COMPONENT Runtime)
# We need qt.conf on windows. for macx and linux we write it # We need qt.conf on windows. for macx and linux we write it
# after extracting package # after extracting package
......
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