summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>2021-03-04 20:36:02 +0100
committerGitHub <noreply@github.com>2021-03-04 19:36:02 +0000
commit452efb4bfe87f1628185c8b5c40acf4533c93c46 (patch)
tree25f556eaadc47836ec799aedb60af5e898937729 /cmake
parentb0ab269c2039051a16212d5c9e7276c5f5c20b1d (diff)
Add proper define for libpoly usage (#6050)
When adding libpoly, we forgot to add a proper define to cvc4autoconfig and included real_algebraic_number.h everywhere to get this define. This PR introduces the CVC4_POLY_IMP define and removes all obsolete includes to real_algebraic_number.h.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureCVC4.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/ConfigureCVC4.cmake b/cmake/ConfigureCVC4.cmake
index 6da71dc64..9c160e4fc 100644
--- a/cmake/ConfigureCVC4.cmake
+++ b/cmake/ConfigureCVC4.cmake
@@ -95,5 +95,7 @@ check_c_source_compiles(
set(CVC4_CLN_IMP ${CVC4_USE_CLN_IMP})
# Defined if using the GMP multi-precision arithmetic library.
set(CVC4_GMP_IMP ${CVC4_USE_GMP_IMP})
+# Defined if using the libpoly polynomial library.
+set(CVC4_POLY_IMP ${CVC4_USE_POLY_IMP})
# Define the full name of this package.
set(CVC4_PACKAGE_NAME "${PROJECT_NAME}")
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback