From f729eb76e6a58d15d20a8ae14bcde43fb2d1a095 Mon Sep 17 00:00:00 2001 From: Pavel Kalugin Date: Fri, 15 Dec 2023 15:51:51 +0300 Subject: [PATCH] CMake: change xcpp linkage scope to PRIVATE Previously the linkage was PUBLIC, which caused xcpp to link to the already existing libxeus-clang-repl.so instead of the just built one. Signed-off-by: Pavel Kalugin --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e9e23d6..3a73e27a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,7 +214,7 @@ set_target_properties(xcpp PROPERTIES ENABLE_EXPORTS 1 CXX_STANDARD ${CMAKE_CXX_STANDARD} ) -target_link_libraries(xcpp PUBLIC xeus-clang-repl pthread Python::Python) +target_link_libraries(xcpp PRIVATE xeus-clang-repl pthread Python::Python) #TODO: We may be need sse RPATH #set_target_properties(xcpp clangCppInterOp PROPERTIES