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)