From 17052c007807e2d88581db5467fac804772d6383 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 8 Sep 2017 19:09:09 +0200 Subject: [PATCH] Add the signature support for macOS too --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fc14c4..5e634e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -274,6 +274,9 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release") set (CPACK_BUNDLE_NAME ${PB_PRODUCT_NAME}) set (CPACK_BUNDLE_PLIST "${CMAKE_BINARY_DIR}/Info.plist") set (CPACK_BUNDLE_STARTUP_COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/resources/darwin/Planet Blupi") + if (SIGN_APP) + set (CPACK_BUNDLE_APPLE_CERT_APP "Developer ID Application: Mathieu Schroeter") + endif () set (CPACK_PACKAGE_FILE_NAME "planetblupi-${PB_VERSION_MAJOR}.${PB_VERSION_MINOR}.${PB_VERSION_PATCH}${PB_VERSION_EXTRA}") set (CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_CURRENT_SOURCE_DIR}/resources/darwin/background.tiff")