kicad_curl should be built only with BUILD_GITHUB_PLUGIN enabled

This commit is contained in:
Fabio Rossi 2018-09-13 17:13:17 +02:00 committed by Seth Hillbrand
parent 42ab116bc2
commit 21485e6f24
1 changed files with 6 additions and 3 deletions

View File

@ -337,14 +337,17 @@ if( NOT HAVE_STRTOKR )
list( APPEND COMMON_SRCS strtok_r.c )
endif()
if( BUILD_GITHUB_PLUGIN )
list( APPEND COMMON_SRCS
kicad_curl/kicad_curl.cpp
kicad_curl/kicad_curl_easy.cpp
)
endif()
set( COMMON_SRCS
${COMMON_SRCS}
system/libcontext.cpp
kicad_curl/kicad_curl.cpp
kicad_curl/kicad_curl_easy.cpp
view/view.cpp
view/view_item.cpp
view/view_group.cpp