Skip to content

Commit

Permalink
Merge pull request #406 from jongough/updates_1.6
Browse files Browse the repository at this point in the history
Update package name for osX
  • Loading branch information
jongough authored Aug 16, 2019
2 parents 62f2f99 + addf14f commit dee0f88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions cmake/PluginPackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ 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}
COMMENT "create-pkg [${PACKAGE_NAME}]: Generating pkg file."
)

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)

0 comments on commit dee0f88

Please sign in to comment.