Sign files after build on Windows
This commit is contained in:
parent
af6cc73949
commit
f834adcb30
4 changed files with 28 additions and 0 deletions
|
@ -4,6 +4,8 @@ SET(QT_USE_QTNETWORK TRUE)
|
|||
SET(QT_USE_QTUITOOLS TRUE)
|
||||
INCLUDE( ${QT_USE_FILE} )
|
||||
|
||||
FIND_PACKAGE( SignTool REQUIRED )
|
||||
|
||||
if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
cmake_policy(SET CMP0005 NEW)
|
||||
|
@ -148,6 +150,7 @@ TARGET_LINK_LIBRARIES( ${telldus-center_TARGET} ${telldus-center_LIBRARIES} )
|
|||
SET_TARGET_PROPERTIES(${telldus-center_TARGET} PROPERTIES
|
||||
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist
|
||||
)
|
||||
SIGN(${telldus-center_TARGET})
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES(${telldus-center_TARGET} PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue