diff --git a/SuperBuild/CMake/External_otb.cmake b/SuperBuild/CMake/External_otb.cmake index 1ceaf1298d15a6333d30f9fd80c3162ce17e0f8d..135ca6bc06f6891baa3b6d7c0d4b350531851673 100644 --- a/SuperBuild/CMake/External_otb.cmake +++ b/SuperBuild/CMake/External_otb.cmake @@ -188,7 +188,7 @@ ExternalProject_Add(OTB -DOTB_WRAP_PYTHON:BOOL=${OTB_WRAP_PYTHON} -DOTB_WRAP_JAVA:BOOL=${OTB_WRAP_JAVA} ${OTB_ADDITIONAL_CACHE} - CMAKE_COMMAND ${OTB_SB_CMAKE_COMMAND} + CMAKE_COMMAND ${SB_CMAKE_COMMAND} ) ExternalProject_Add_Step(OTB install_copyright