Skip to content

Commit

Permalink
CMake: change xcpp linkage scope to PRIVATE
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
p4vook authored and vgvassilev committed May 20, 2024
1 parent 4d4d917 commit f729eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f729eb7

Please sign in to comment.