mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
18 lines
520 B
CMake
18 lines
520 B
CMake
add_library(ZamalangRuntime SHARED
|
|
context.c
|
|
wrappers.c
|
|
)
|
|
|
|
target_link_libraries(ZamalangRuntime Concrete pthread m dl)
|
|
|
|
install(TARGETS ZamalangRuntime EXPORT ZamalangRuntime)
|
|
install(EXPORT ZamalangRuntime DESTINATION "./")
|
|
|
|
if(ZAMALANG_PARALLEL_EXECUTION_ENABLED)
|
|
add_library(DFRuntime SHARED DFRuntime.cpp)
|
|
target_link_libraries(DFRuntime PUBLIC pthread m dl HPX::hpx HPX::iostreams_component -rdynamic)
|
|
|
|
install(TARGETS DFRuntime EXPORT DFRuntime)
|
|
install(EXPORT DFRuntime DESTINATION "./")
|
|
endif()
|