Skip to content

Commit

Permalink
[cmake] Don't complain about tinfo symbols, they are in CppInterOp DT…
Browse files Browse the repository at this point in the history
…_NEEDED
  • Loading branch information
vgvassilev committed Aug 11, 2023
1 parent d2f2376 commit 5b4ff8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ target_include_directories(xeus-clang-repl SYSTEM
PUBLIC
$<BUILD_INTERFACE:${XEUS_CLANG-REPL_INCLUDE_DIR}>
$<INSTALL_INTERFACE:include>)
target_link_libraries(xeus-clang-repl PUBLIC clangCppInterOp xeus pugixml cxxopts::cxxopts)
target_link_libraries(xeus-clang-repl PUBLIC xeus pugixml cxxopts::cxxopts)

if(APPLE)
target_link_libraries(xeus-clang-repl PUBLIC -Wl,-w -Wl,-bind_at_load -Wl,-undefined,dynamic_lookup)
target_link_libraries(xeus-clang-repl PUBLIC -Wl,-w -Wl,-bind_at_load -Wl,-undefined,dynamic_lookup clangCppInterOp)
elseif(NOT MSVC)
target_link_libraries(xeus-clang-repl PUBLIC -Wl,--unresolved-symbols=ignore-in-object-files)
target_link_libraries(xeus-clang-repl PUBLIC -Wl,--unresolved-symbols=ignore-all clangCppInterOp)
endif()

target_include_directories(xeus-clang-repl PUBLIC ${PYTHON_INCLUDE_DIRS})
Expand Down

0 comments on commit 5b4ff8c

Please sign in to comment.