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

PKG: give windows a capital W, the suffix should be at the end

parent 5bfb3216
No related branches found
No related tags found
Loading
......@@ -93,13 +93,10 @@ set(PKG_OTB_VERSION_STRING ${PKG_OTB_VERSION_MAJOR}.${PKG_OTB_VERSION_MINOR}.${P
set(PACKAGE_LONG_NAME OrfeoToolBox)
set(NAME_SUFFIX "" CACHE STRING "extra suffix for package name")
set(PACKAGE_NAME OTB)
if(NAME_SUFFIX)
set(PACKAGE_NAME OTB${NAME_SUFFIX})
endif()
if(APPLE)
set(PACKAGE_PLATFORM_NAME "Darwin")
elseif(WIN32)
set(PACKAGE_PLATFORM_NAME "win")
set(PACKAGE_PLATFORM_NAME "Win")
elseif(LINUX)
set(PACKAGE_PLATFORM_NAME "Linux")
endif()
......@@ -110,7 +107,7 @@ endif()
# This directory is important.
# We stage/keep files that goes into final package in this directory
set(PKG_STAGE_DIR ${PACKAGE_NAME}-${PKG_OTB_VERSION_STRING}-${PACKAGE_PLATFORM_NAME}${PACKAGE_ARCH})
set(PKG_STAGE_DIR ${PACKAGE_NAME}-${PKG_OTB_VERSION_STRING}-${PACKAGE_PLATFORM_NAME}${PACKAGE_ARCH}${NAME_SUFFIX})
set(PATCHELF_PROGRAM "${CMAKE_BINARY_DIR}/PATCHELF/src/patchelf/src/patchelf")
include(External_patchelf)
......
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