Fix message to show that cadical and symfpu are required (#6823)
authorGereon Kremer <nafur42@gmail.com>
Thu, 1 Jul 2021 17:34:56 +0000 (19:34 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 17:34:56 +0000 (17:34 +0000)
As mentioned in #6822, we are currently printing an incorrect message if CaDiCaL or SymFPU are not found but auto-download is disabled. This PR fixes this issue.

cmake/FindCaDiCaL.cmake
cmake/FindSymFPU.cmake

index ce70c52927674e0c5721af5ed4a6913b7263507a..2fe65cf8b04f13eb38b3ca653f97419f1db3fd73 100644 (file)
@@ -41,7 +41,7 @@ endif()
 if(NOT CaDiCaL_FOUND_SYSTEM)
   check_ep_downloaded("CaDiCaL-EP")
   if(NOT CaDiCaL-EP_DOWNLOADED)
-    check_auto_download("CaDiCaL" "--no-cadical")
+    check_auto_download("CaDiCaL" "")
   endif()
 
   include(CheckSymbolExists)
index 2f779abc09ebe36d155f9c1b0a46789a0fd00113..65191156aea01174dd06115fd9a34ff5a89ed494 100644 (file)
@@ -26,7 +26,7 @@ endif()
 if(NOT SymFPU_FOUND_SYSTEM)
   check_ep_downloaded("SymFPU-EP")
   if(NOT SymFPU-EP_DOWNLOADED)
-    check_auto_download("SymFPU" "--no-symfpu")
+    check_auto_download("SymFPU" "")
   endif()
 
   include(ExternalProject)