1
0
Fork 0
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:
Brian Fiete 2020-05-21 12:55:58 -07:00
parent f8b27c13a2
commit 672be8a8f7
6 changed files with 123 additions and 79 deletions

View file

@ -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.