From aae05e60c62b1ee2281213f6e0cdf6f6ca270d49 Mon Sep 17 00:00:00 2001 From: youben11 Date: Fri, 2 Jun 2023 10:35:44 +0100 Subject: [PATCH] feat(compiler): copy cpp optim lib into output lib dir this makes sure it will be installed as part of the compiler, as needed currently by the rust bindings --- compilers/concrete-compiler/compiler/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilers/concrete-compiler/compiler/CMakeLists.txt b/compilers/concrete-compiler/compiler/CMakeLists.txt index 55332d196..60b38a8bd 100644 --- a/compilers/concrete-compiler/compiler/CMakeLists.txt +++ b/compilers/concrete-compiler/compiler/CMakeLists.txt @@ -82,7 +82,7 @@ ExternalProject_Add( BUILD_ALWAYS true BUILD_COMMAND cargo build -p concrete-optimizer-cpp --profile release BINARY_DIR "${CONCRETE_OPTIMIZER_DIR}" - INSTALL_COMMAND "" + INSTALL_COMMAND cp ${CONCRETE_OPTIMIZER_STATIC_LIB} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} LOG_BUILD ON LOG_OUTPUT_ON_FAILURE ON)