diff --git a/CMakeLists.txt b/CMakeLists.txt index f06220661..a691d4366 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ endif() set(IMEX_EXTERNAL_PROJECT_BUILD OFF) -set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -Wall -Werror -Wnon-virtual-dtor") +set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -Wall -Wnon-virtual-dtor") if(NOT (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) AND NOT DEFINED MLIR_BINARY_DIR) # Building as part of LLVM via the external project mechanism.