mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 14:26:49 +00:00
[polly] [CMake] Link polly-isl-test with LLVMSupport (#65424)
Otherwise link may fail if user provided additional library to link with via CMAKE_EXE_LINKER_FLAGS. Concrete example is using custom allocator, LLVMSupport provides needed -lpthread in that case. Closes: https://github.com/llvm/llvm-project/pull/65424
This commit is contained in:
parent
88548df0fc
commit
b951239932
1
polly/lib/External/CMakeLists.txt
vendored
1
polly/lib/External/CMakeLists.txt
vendored
@ -306,6 +306,7 @@ if (POLLY_BUNDLED_ISL)
|
||||
|
||||
target_link_libraries(polly-isl-test PRIVATE
|
||||
PollyISL
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
# ISL requires at least C99 to compile. gcc < 5.0 use -std=gnu89 as default.
|
||||
|
Loading…
x
Reference in New Issue
Block a user