Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Popov <v.popov@corp.mail.ru>2018-10-12 15:08:41 +0300
committermpimenov <mpimenov@users.noreply.github.com>2018-10-19 15:20:43 +0300
commit45dd1a26c04a81c0defb00d11f7f1b8dadd92b25 (patch)
tree6847189bad9e9d4b0056557fc5083d816907ed57 /CMakeLists.txt
parent6935b2a940f2338cfce2cf659378c03a65dae311 (diff)
[tools] use tools/unix/check_cert.sh to break cmake-based build if check script fails
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42573740e7..be7b2a8333 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -123,6 +123,16 @@ endif()
# End of setting environment variables
+# Scripts
+
+execute_process(
+ COMMAND "${OMIM_ROOT}/tools/unix/check_cert.sh"
+ RESULT_VARIABLE CheckCertResult
+)
+if (CheckCertResult)
+ message(FATAL_ERROR "Certificate check failed")
+endif()
+
# Find installed packages
find_package(Threads)