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 committed Dec 15, 2023
1 parent aeb22a7 commit 0ab5086
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 @@ -209,7 +209,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 0ab5086

Please sign in to comment.