Skip to content

Commit f729eb7

Browse files
p4vookvgvassilev
authored andcommitted
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 <[email protected]>
1 parent 4d4d917 commit f729eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ set_target_properties(xcpp PROPERTIES
214214
ENABLE_EXPORTS 1
215215
CXX_STANDARD ${CMAKE_CXX_STANDARD}
216216
)
217-
target_link_libraries(xcpp PUBLIC xeus-clang-repl pthread Python::Python)
217+
target_link_libraries(xcpp PRIVATE xeus-clang-repl pthread Python::Python)
218218

219219
#TODO: We may be need sse RPATH
220220
#set_target_properties(xcpp clangCppInterOp PROPERTIES

0 commit comments

Comments
 (0)