mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Update CMakeLists.txt
In order to prevent the following: CMake Error at IDEHelper/CMakeLists.txt:186 (add_library): Target "IDEHelper" links to item "-lLLVM-18 " which has leading or trailing whitespace. This is now an error according to policy CMP0004. Noticed on Arch Linux.
This commit is contained in:
parent
c5098cb28b
commit
6645213edd
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ if (LLVM_FOUND)
|
|||
include_directories(${LLVM_INCLUDE_DIRS})
|
||||
add_definitions(${LLVM_DEFINITIONS})
|
||||
|
||||
set(TARGET_LIBS_OS "-lLLVM-18 ${LLVM_SYSTEM_LIBS}")
|
||||
set(STRIP ${TARGET_LIBS_OS} "-lLLVM-18 ${LLVM_SYSTEM_LIBS}")
|
||||
else()
|
||||
message(FATAL_ERROR "LLVM not found")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue