Skip to content

Commit 0ab5086

Browse files
committed
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 aeb22a7 commit 0ab5086

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
@@ -209,7 +209,7 @@ set_target_properties(xcpp PROPERTIES
209209
ENABLE_EXPORTS 1
210210
CXX_STANDARD ${CMAKE_CXX_STANDARD}
211211
)
212-
target_link_libraries(xcpp PUBLIC xeus-clang-repl pthread Python::Python)
212+
target_link_libraries(xcpp PRIVATE xeus-clang-repl pthread Python::Python)
213213

214214
#TODO: We may be need sse RPATH
215215
#set_target_properties(xcpp clangCppInterOp PROPERTIES

0 commit comments

Comments
 (0)