Skip to content

Commit 5f3032e

Browse files
authored
Merge pull request #27 from arduino/update-patch-0006
update patch 0006
2 parents 47fcb4c + d049d36 commit 5f3032e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

patches/0006-Cmake-add-libtinfo-and-libncurses-as-dependencies.patch

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Co-authored-by: Martino Facchin <[email protected]>
1010
2 files changed, 12 insertions(+)
1111

1212
diff --git a/CMakeLists.txt b/CMakeLists.txt
13-
index f4546b5..8507c69 100644
13+
index 522f505..6b7af1f 100644
1414
--- a/CMakeLists.txt
1515
+++ b/CMakeLists.txt
16-
@@ -207,6 +207,16 @@ if(HAVE_LIBREADLINE)
17-
set(LIB_LIBREADLINE ${HAVE_LIBREADLINE})
16+
@@ -227,6 +227,16 @@ elseif(MSVC)
17+
set(HAVE_LIBREADLINE 1)
1818
endif()
19-
19+
2020
+find_library(HAVE_LIBNCURSES NAMES ncurses)
2121
+if(HAVE_LIBNCURSES)
2222
+ set(LIB_LIBNCURSES ${HAVE_LIBNCURSES})
@@ -31,10 +31,10 @@ index f4546b5..8507c69 100644
3131
# Use external libraries if requested
3232
# =====================================
3333
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
34-
index a8e0262..9eae65e 100644
34+
index c51214e..e3abc2d 100644
3535
--- a/src/CMakeLists.txt
3636
+++ b/src/CMakeLists.txt
37-
@@ -244,6 +244,8 @@ target_link_libraries(libavrdude
37+
@@ -271,6 +271,8 @@ target_link_libraries(libavrdude
3838
${LIB_LIBFTDI}
3939
${LIB_LIBFTDI1}
4040
${LIB_LIBREADLINE}

0 commit comments

Comments
 (0)