diff CMakeLists.txt @ 1071:fc4e1fe4e4d4

(issue116) Sign binaries with test certificate if RELESE_BUILD option is not used
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 10 Sep 2014 17:52:11 +0200
parents 8fb1b912fd8e
children 508c96e72f62
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Sep 10 16:41:36 2014 +0200
+++ b/CMakeLists.txt	Wed Sep 10 17:52:11 2014 +0200
@@ -38,6 +38,12 @@
 
 find_package(Qt5Widgets)
 
+find_program(OSSLSIGNCODE_EXECUTABLE osslsigncode)
+
+if (WIN32 AND NOT OSSLSIGNCODE_EXECUTABLE)
+   message (STATUS "WARNING: osslsigncode not found. Code verification and code verification tests will fail.")
+endif()
+
 if (NOT WIN32)
    find_package(NSS)
 else ()

http://wald.intevation.org/projects/trustbridge/