Commit 535d1fa9 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Mark signing parameters as advanced

parent a8e3b18b
...@@ -73,18 +73,17 @@ ENDMACRO() ...@@ -73,18 +73,17 @@ ENDMACRO()
IF(WIN32) IF(WIN32)
OPTION(SIGNCODE "Sign executables and dlls with digital certificate" OFF) OPTION(SIGNCODE "Sign executables and dlls with digital certificate" OFF)
MARK_AS_ADVANCED(SIGNCODE)
IF(SIGNCODE) IF(SIGNCODE)
SET(SIGNTOOL_PARAMETERS SET(SIGNTOOL_PARAMETERS
/a /t http://timestamp.verisign.com/scripts/timstamp.dll /a /t http://timestamp.verisign.com/scripts/timstamp.dll
CACHE STRING "parameters for signtool (list)") CACHE STRING "parameters for signtool (list)")
MARK_AS_ADVANCED(SIGNCODE SIGNTOOL_PARAMETERS)
ENDIF()
IF(SIGNCODE)
FIND_PROGRAM(SIGNTOOL_EXECUTABLE signtool) FIND_PROGRAM(SIGNTOOL_EXECUTABLE signtool)
IF(NOT SIGNTOOL_EXECUTABLE) IF(NOT SIGNTOOL_EXECUTABLE)
MESSAGE(FATAL_ERROR MESSAGE(FATAL_ERROR
"signtool is not found. Signing executables not possible") "signtool is not found. Signing executables not possible")
ENDIF() ENDIF()
MARK_AS_ADVANCED(SIGNTOOL_EXECUTABLE SIGNTOOL_PARAMETERS)
ENDIF() ENDIF()
ENDIF() ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment