add_compile_options(-fexceptions -fsized-deallocation -fno-rtti)

add_mlir_library(
  ConcretelangCommon
  Protocol.cpp
  CRT.cpp
  Csprng.cpp
  Keys.cpp
  Keysets.cpp
  Transformers.cpp
  Values.cpp
  DEPENDS
  concrete-protocol
  LINK_LIBS
  PUBLIC
  concrete_cpu
  kj
  capnp)

target_include_directories(ConcretelangCommon PUBLIC ${CONCRETE_CPU_INCLUDE_DIR})
