This repository was archived by the owner on Nov 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ matrix:
1212 - libgtk-3-dev
1313 - libvulkan-dev
1414 - llvm-7-dev
15+ - libiberty-dev
1516 compiler : clang
1617 env :
1718 - CMAKE_FLAGS="-DXENIA_LINK_SHARED=OFF -DPython3_EXECUTABLE=/usr/bin/python3"
@@ -25,6 +26,7 @@ matrix:
2526 - libgtk-3-dev
2627 - libvulkan-dev
2728 - llvm-7-dev
29+ - libiberty-dev
2830 compiler : clang
2931 env :
3032 - CMAKE_FLAGS="-DXENIA_LINK_SHARED=ON -DPython3_EXECUTABLE=/usr/bin/python3"
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ add_library(${NAME} ${LIBRARY_TYPE}
2424 ${${NAME} _COMPILER_PASSES_SOURCES}
2525 ${${NAME} _HIR_SOURCES}
2626 ${${NAME} _PPC_SOURCES})
27+ if (UNIX )
28+ find_library (IBERTY_LIBRARY iberty REQUIRED)
29+ endif ()
2730target_include_directories (${NAME}
2831 PRIVATE
2932 $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR} /xenia/src>
@@ -34,5 +37,5 @@ target_include_directories(${NAME}
3437 $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR} /xenia/third_party>)
3538find_package (LLVM REQUIRED CONFIG)
3639llvm_map_components_to_libnames(llvm_libs support)
37- target_link_libraries (${NAME} PRIVATE mspack ${llvm_libs} )
40+ target_link_libraries (${NAME} PRIVATE mspack ${llvm_libs} ${IBERTY_LIBRARY} )
3841set_target_properties (${NAME} PROPERTIES FOLDER "xenia" )
You can’t perform that action at this time.
0 commit comments