diff --git a/SuperBuild/CMake/External_otb.cmake b/SuperBuild/CMake/External_otb.cmake index e37b2207de4c790aaeb5c7b269aba406b00bcadc..b4a7107a176fd1222f949d61632e5a1d38aab8a7 100644 --- a/SuperBuild/CMake/External_otb.cmake +++ b/SuperBuild/CMake/External_otb.cmake @@ -227,9 +227,11 @@ ExternalProject_Add(OTB ExternalProject_Add_Step( OTB install_copyright - COMMAND ${CMAKE_COMMAND} - -E copy_directory - ${OTB_SB_SRC}/Copyright ${CMAKE_INSTALL_PREFIX}/share/copyright + COMMAND ${CMAKE_COMMAND} -E copy + ${OTB_SB_SRC}/LICENSE ${CMAKE_INSTALL_PREFIX}/share/copyright/LICENSE + + COMMAND ${CMAKE_COMMAND} -E copy + ${OTB_SB_SRC}/NOTICE ${CMAKE_INSTALL_PREFIX}/share/copyright/NOTICE COMMAND ${CMAKE_COMMAND} -E copy_directory