← Back to team overview

kicad-developers team mailing list archive

[PATCH] Add CURL include dirs in github plugin

 

The github plugin includes the CURL headers indirectly, so these headers
need to be on the include search path.

---
 pcbnew/github/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pcbnew/github/CMakeLists.txt b/pcbnew/github/CMakeLists.txt
index 780d1af..bb18428 100644
--- a/pcbnew/github/CMakeLists.txt
+++ b/pcbnew/github/CMakeLists.txt
@@ -23,6 +23,8 @@
 # These are additions to any inherited from pcbnew dir:
 include_directories( . )
 
+include_directories( ${CURL_INCLUDE_DIRS} )
+
 set( GITHUB_PLUGIN_SRCS
     github_plugin.cpp
     github_getliblist.cpp

Follow ups