mirror of https://github.com/mosra/magnum.git
Browse Source
package/hunter ├── .gitignore # ignore HunterGate.cmake ├── HunterFetchDeps.cmake # Fetch SDL, corrade and glfw ├── HunterGate.cmake # main hunter scripts (ignored in git) └── HunterInit.cmake # entry pointpull/298/head
4 changed files with 31 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
hunter_add_package(corrade) |
||||||
|
if(WITH_GLFWAPPLICATION) |
||||||
|
hunter_add_package(glfw) |
||||||
|
endif() |
||||||
|
if(WITH_SDL2APPLICATION) |
||||||
|
hunter_add_package(SDL2) |
||||||
|
endif() |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
file( |
||||||
|
DOWNLOAD |
||||||
|
https://raw.githubusercontent.com/hunter-packages/gate/master/cmake/HunterGate.cmake |
||||||
|
${CMAKE_CURRENT_LIST_DIR}//HunterGate.cmake |
||||||
|
) |
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/HunterGate.cmake") |
||||||
|
HunterGate( |
||||||
|
URL "https://github.com/pthom/hunter/archive/test-corrade-v2018.10.tar.gz" |
||||||
|
SHA1 "3415f425f0ff1aa1754b8a2b57c77ba20f5b7bbc" |
||||||
|
) |
||||||
Loading…
Reference in new issue