From addf14f050eb3f71e2422f1445dde2e50c701291 Mon Sep 17 00:00:00 2001 From: jongough Date: Fri, 16 Aug 2019 18:11:14 +1000 Subject: [PATCH] Update package name for osX --- CMakeLists.txt | 4 ++-- cmake/PluginPackage.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da5ed405..9f9ed82f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,8 +29,8 @@ SET(CPACK_PACKAGE_CONTACT "Jon Gough") SET(VERSION_MAJOR "1") SET(VERSION_MINOR "6") -SET(VERSION_PATCH "15") -SET(VERSION_DATE "03/08/2019") +SET(VERSION_PATCH "16") +SET(VERSION_DATE "16/08/2019") SET(OCPN_MIN_VERSION "ov50") SET(OD_COMMENT " * Initial release for O5 using CI") SET(OCPN_API_VERSION_MAJOR "1") diff --git a/cmake/PluginPackage.cmake b/cmake/PluginPackage.cmake index 8fb1446e..05a46527 100644 --- a/cmake/PluginPackage.cmake +++ b/cmake/PluginPackage.cmake @@ -169,7 +169,7 @@ configure_file(${PROJECT_SOURCE_DIR}/buildosx/InstallOSX/pkg_background.jpg ${CMAKE_CURRENT_BINARY_DIR}/${VERBOSE_NAME}.pkgproj) ADD_CUSTOM_COMMAND( - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${VERBOSE_NAME}-Plugin-${OCPN_MIN_VERSION}_${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.pkg + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${VERBOSE_NAME}-Plugin_${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${OCPN_MIN_VERSION}.pkg COMMAND /usr/local/bin/packagesbuild -F ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/${VERBOSE_NAME}.pkgproj WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DEPENDS ${PACKAGE_NAME} @@ -177,7 +177,7 @@ configure_file(${PROJECT_SOURCE_DIR}/buildosx/InstallOSX/pkg_background.jpg ) ADD_CUSTOM_TARGET(create-pkg COMMENT "create-pkg: Done." - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${VERBOSE_NAME}-Plugin-${OCPN_MIN_VERSION}_${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.pkg ) + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${VERBOSE_NAME}-Plugin_${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${OCPN_MIN_VERSION}.pkg ) ENDIF(APPLE)