Remove download target for noAvhttp
authorGeorges Khaznadar <georgesk@debian.org>
Sat, 3 Sep 2016 15:57:10 +0000 (17:57 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Wed, 25 Jan 2017 21:38:35 +0000 (21:38 +0000)
In Debian we don't load anything dynamically from the net while package
built.

Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Remove-download-target-for-noAvhttp.patch

CMakeModules/download_avhttp.cmake

index abc52b7e89e2c8231d1abc55cbf255d271405020..1827273d06424fcdad0dcacebd952617db38f50b 100644 (file)
 #-----</configure>-----------------------------------------------------------------------------------
 
 
-# Where the library is to be installed.
-set( PREFIX ${DOWNLOAD_DIR}/avhttp )
-
-if( KICAD_SKIP_BOOST )
-    set( AVHTTP_DEPEND "" )
-else()
-    set( AVHTTP_DEPEND "boost" )
-endif()
-
-
-# Install the AVHTTP header only library ${PREFIX}
-ExternalProject_Add( avhttp
-    PREFIX          ${PREFIX}
-    DOWNLOAD_DIR    ${DOWNLOAD_DIR}     # no true download yet
-
-    # grab it from a local zip file for now, cmake caller's source dir
-    URL             ${CMAKE_CURRENT_SOURCE_DIR}/avhttp-master.zip
-    DEPENDS         ${AVHTTP_DEPEND}
-
-    CONFIGURE_COMMAND ""
-
-    BUILD_COMMAND   ""
-    INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory <SOURCE_DIR> <INSTALL_DIR>
-    )
-
-
-set( AVHTTP_INCLUDE_DIR  "${PREFIX}/include" CACHE FILEPATH "AVHTTP include directory" )
 mark_as_advanced( AVHTTP_INCLUDE_DIR )