Commit eea04c46 authored by Rashad Kanavath's avatar Rashad Kanavath

ENH: include project version in the archive name

parent dd304d64
......@@ -408,12 +408,12 @@ if(WIN32 AND CMAKE_CROSSCOMPILING)
if(MXE_TARGET_DIR MATCHES "i686")
set(mxearch x86)
set(archive_name ${CMAKE_PROJECT_NAME}-${OTB_VERSION_STRING}-win32)
elseif(MXE_TARGET_DIR MATCHES "x86_64")
set(mxearch x64)
set(archive_name ${CMAKE_PROJECT_NAME}-${OTB_VERSION_STRING}-win64)
endif()
set(archive_name ${CMAKE_PROJECT_NAME}-MinGW-${mxearch})
execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory "${CMAKE_INSTALL_PREFIX}/${archive_name}")
get_filename_component(mxeroot ${MXE_TARGET_DIR} PATH)
......
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