~cypheon/rapid

5fa4c2824a1767d5040d94d52d1db0575d16c4b5 — Johann Rudloff 11 days ago f6f00cf
Fix building against LLVM without RTTI
1 files changed, 5 insertions(+), 0 deletions(-)

M llvm/CMakeLists.txt
M llvm/CMakeLists.txt => llvm/CMakeLists.txt +5 -0
@@ 10,6 10,11 @@ message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
include_directories(${LLVM_INCLUDE_DIRS})
add_definitions(${LLVM_DEFINITIONS})

if (${LLVM_ENABLE_RTTI})
else()
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
endif()

add_library(rapid MODULE Passes/LowerRapidIntrinsics.cpp)

set_property(TARGET rapid PROPERTY CXX_STANDARD 17)