Browse Source

package/hunter/HunterInit : download HunterGate from pinned version, if needed

pull/298/head
Pascal Thomet 8 years ago
parent
commit
7ac3291703
  1. 4
      package/hunter/HunterInit.cmake

4
package/hunter/HunterInit.cmake

@ -1,8 +1,10 @@
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/HunterGate.cmake)
file( file(
DOWNLOAD DOWNLOAD
https://raw.githubusercontent.com/hunter-packages/gate/master/cmake/HunterGate.cmake https://raw.githubusercontent.com/hunter-packages/gate/c4e5b3e4d1c97fb46ae86af7f59baac95f7f1cf0/cmake/HunterGate.cmake
${CMAKE_CURRENT_LIST_DIR}//HunterGate.cmake ${CMAKE_CURRENT_LIST_DIR}//HunterGate.cmake
) )
endif()
# FIXME : will need to replace this url with the main hunter url ! # FIXME : will need to replace this url with the main hunter url !
include("${CMAKE_CURRENT_LIST_DIR}/HunterGate.cmake") include("${CMAKE_CURRENT_LIST_DIR}/HunterGate.cmake")

Loading…
Cancel
Save