mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
20 lines
473 B
CMake
20 lines
473 B
CMake
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
# using GCC
|
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.0)
|
|
add_compile_options(-Wno-error=cast-function-type -Wno-cast-function-type)
|
|
endif()
|
|
endif()
|
|
|
|
add_mlir_library(
|
|
ConcretelangServerLib
|
|
DynamicRankCall.cpp
|
|
ServerLambda.cpp
|
|
DynamicModule.cpp
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/concretelang/ServerLib
|
|
DEPENDS
|
|
mlir-headers
|
|
LINK_LIBS
|
|
ConcretelangRuntime
|
|
ConcretelangClientLib)
|