mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Linux fixes, now using a IDEHelper_libs.txt file
This commit is contained in:
parent
f8b27c13a2
commit
672be8a8f7
6 changed files with 123 additions and 79 deletions
|
@ -133,11 +133,19 @@ add_executable(${PROJECT_NAME}
|
|||
${SRC_FILES}
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../extern/llvm_linux_8_0_0/bin/llvm-config --system-libs --link-static
|
||||
OUTPUT_VARIABLE LLVM_SYSTEM_LIBS
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
||||
if (${APPLE})
|
||||
set(TARGET_LIBS_OS "")
|
||||
else()
|
||||
#set(TARGET_LIBS_OS "tinfo")
|
||||
set(TARGET_LIBS_OS "-Xlinker --no-demangle -v")
|
||||
#set(TARGET_LIBS_OS "curses")
|
||||
#set(TARGET_LIBS_OS "-Xlinker --no-demangle -v")
|
||||
|
||||
set(TARGET_LIBS_OS "${LLVM_SYSTEM_LIBS}")
|
||||
endif()
|
||||
|
||||
# Link with other dependencies.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue