about summary refs log tree commit diff homepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff55ad23..b0f5fd26 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -394,7 +394,7 @@ endif()
 # RTTI
 ###############################################################################
 if (NOT LLVM_ENABLE_RTTI)
-  if (ENABLE_SOLVER_METASMT)
+  if (ENABLE_SOLVER_METASMT AND metaSMT_REQUIRE_RTTI)
     message(WARNING "Not disabling RTTI because metaSMT uses them")
     # FIXME: Should this be FATAL_ERROR rather than ERROR?
     message(WARNING