Skip to content

Commit

Permalink
Merge pull request #5 from cristianadam/gate-inclusion-fix
Browse files Browse the repository at this point in the history
Fix inclusion of HunterGate.cmake
  • Loading branch information
bkotzz authored Nov 6, 2019
2 parents 5f388dc + 6bc87fd commit b78fa24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

cmake_minimum_required(VERSION 3.2)

include("${CMAKE_CURRENT_LIST_DIR}/cmake/HunterGate.cmake")

if (NOT HUNTER_URL AND NOT HUNTER_SHA1)
file(
DOWNLOAD https://api.github.com/repos/cpp-pm/hunter/releases/latest
Expand Down Expand Up @@ -66,7 +64,7 @@ endif()

file(WRITE
${CMAKE_BINARY_DIR}/HunterSetup.cmake.in
"include(${CMAKE_BINARY_DIR}/HunterGate.cmake)\n"
"include(\"${CMAKE_CURRENT_LIST_DIR}/cmake/HunterGate.cmake\")\n"
"HunterGate(
URL ${HUNTER_URL}
SHA1 ${HUNTER_SHA1}
Expand Down

0 comments on commit b78fa24

Please sign in to comment.