diff options
author | Hoang M. Le <hle@informatik.uni-bremen.de> | 2017-04-11 13:40:50 +0200 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-05-02 11:41:18 +0100 |
commit | 827786517026ef36f5e69c29fd429c26a934b0f7 (patch) | |
tree | 50034713c2e76c9225b9a45971f89cfa83714956 | |
parent | 3eef6fd52718980c5a7e6f217050ed16acbb5fa3 (diff) | |
download | klee-827786517026ef36f5e69c29fd429c26a934b0f7.tar.gz |
[CMake] change WARNING to FATAL_ERROR when building with a non-RTTI LLVM version and a metaSMT version that requires RTTI
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b0f5fd26..6fc3878a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -395,9 +395,8 @@ endif() ############################################################################### if (NOT LLVM_ENABLE_RTTI) 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 + message(FATAL_ERROR + "RTTI cannot be disabled because metaSMT uses them." "This build configuration is not supported and will likely not work." "You should recompile LLVM with RTTI enabled.") else() |