1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +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:
Franjo Hornung 2024-07-02 20:57:30 -07:00 committed by GitHub
parent c5098cb28b
commit 6645213edd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()