mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-08 11:44:05 +00:00
[libc++] Make sure cxx_experimental links against libc++ headers
This should fix builds where we build neither the static nor the shared library.
This commit is contained in:
parent
3d2256cc75
commit
1d0f79558c
@ -320,6 +320,7 @@ if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
|
||||
experimental/memory_resource.cpp
|
||||
)
|
||||
add_library(cxx_experimental STATIC ${LIBCXX_EXPERIMENTAL_SOURCES})
|
||||
target_link_libraries(cxx_experimental PUBLIC cxx-headers)
|
||||
if (LIBCXX_ENABLE_SHARED)
|
||||
target_link_libraries(cxx_experimental PRIVATE cxx_shared)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user