diff options
Diffstat (limited to 'dev-lisp/c2ffi/files')
-rw-r--r-- | dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch b/dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch new file mode 100644 index 000000000000..2dc4a82413b2 --- /dev/null +++ b/dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch @@ -0,0 +1,11 @@ +diff -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2020-06-05 00:21:43.509980270 +0200 ++++ b/CMakeLists.txt 2020-06-05 00:22:08.679979968 +0200 +@@ -36,6 +36,7 @@ + ${LLVM_INCLUDE_DIRS} + ${SOURCE_ROOT}/src/include + ) ++target_link_directories(c2ffi PUBLIC ${LLVM_LIBRARY_DIRS}) + target_link_libraries(c2ffi PUBLIC clang-cpp LLVM) + + set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") |