Commit 68c9de12 authored by Tobias Lasser's avatar Tobias Lasser

Update CMakeLists.txt

parent 6752b1ee
Pipeline #287393 failed with stages
in 4 minutes and 20 seconds
......@@ -14,11 +14,11 @@ else()
target_include_directories(pybind11_generator PUBLIC ${LLVM_INCLUDE_DIR})
if (LLVM_SHARED_MODE STREQUAL "shared")
target_link_libraries(pybind11_generator ${LLVM_LIBRARY} ${CLANG_CPP_LIBRARY} stdc++fs)
target_link_libraries(pybind11_generator PUBLIC ${LLVM_LIBRARY} ${CLANG_CPP_LIBRARY} stdc++fs)
elseif (LLVM_SHARED_MODE STREQUAL "static")
# all of the necessary LLVM components should already be statically linked in clang-cpp
# when LLVM_SHARED_MODE is static
target_link_libraries(pybind11_generator ${CLANG_CPP_LIBRARY} stdc++fs)
target_link_libraries(pybind11_generator PUBLIC ${CLANG_CPP_LIBRARY} stdc++fs)
endif()
file(WRITE ${PROJECT_BINARY_DIR}/elsa/__init__.py "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment