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

PKG: change package name with name_suffix

parent a9802d43
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,14 @@ set(CMAKE_INSTALL_PREFIX "${SUPERBUILD_INSTALL_DIR}") ...@@ -124,7 +124,14 @@ set(CMAKE_INSTALL_PREFIX "${SUPERBUILD_INSTALL_DIR}")
set(PACKAGE_LONG_NAME OrfeoToolBox) set(PACKAGE_LONG_NAME OrfeoToolBox)
# Make up part of output package file # Make up part of output package file
set(NAME_SUFFIX "" CACHE STRING "extra suffix for package name")
set(PACKAGE_NAME OTB) set(PACKAGE_NAME OTB)
if(NAME_SUFFIX)
set(PACKAGE_NAME OTB${NAME_SUFFIX})
endif()
if(APPLE) if(APPLE)
set(PACKAGE_PLATFORM_NAME "Darwin") set(PACKAGE_PLATFORM_NAME "Darwin")
elseif(WIN32) elseif(WIN32)
......
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