mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Sign the app (windows) only if SIGN_APP
This commit is contained in:
parent
84f6450879
commit
d7d17df299
@ -249,7 +249,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
include (CPack)
|
||||
|
||||
find_program (SIGNTOOL_EXECUTABLE signtool)
|
||||
if (SIGNTOOL_EXECUTABLE)
|
||||
if (SIGN_APP AND SIGNTOOL_EXECUTABLE)
|
||||
add_custom_command (TARGET planetblupi
|
||||
POST_BUILD
|
||||
COMMAND ${SIGNTOOL_EXECUTABLE}
|
||||
@ -261,7 +261,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
POST_BUILD
|
||||
COMMAND make package)
|
||||
|
||||
if (SIGNTOOL_EXECUTABLE)
|
||||
if (SIGN_APP AND SIGNTOOL_EXECUTABLE)
|
||||
add_custom_command (TARGET planetblupi
|
||||
POST_BUILD
|
||||
COMMAND ${SIGNTOOL_EXECUTABLE}
|
||||
|
Loading…
x
Reference in New Issue
Block a user