Skip to content
Snippets Groups Projects
Commit eea04c46 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

ENH: include project version in the archive name

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