From 493f1bbc1caf7e3b18145ba031a439f41cfc3517 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Mon, 21 May 2018 00:27:49 -0700 Subject: [PATCH] Warn if OpenMP is disabled --- vendor/cryptopp/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/cryptopp/CMakeLists.txt b/vendor/cryptopp/CMakeLists.txt index 1f004261..c515bed4 100644 --- a/vendor/cryptopp/CMakeLists.txt +++ b/vendor/cryptopp/CMakeLists.txt @@ -20,6 +20,8 @@ if(NOT DISABLE_OPENMP) message(FATAL_ERROR "Did not find OpenMP. Build with -DDISABLE_OPENMP=ON if you want to allow this and are willing to take the performance hit.") endif(OPENMP_FOUND) endif() +else(NOT DISABLE_OPENMP) + message(WARNING "OpenMP is disabled. This can cause degraded performance.") endif(NOT DISABLE_OPENMP)