We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f388dc + 6bc87fd commit b78fa24Copy full SHA for b78fa24
CMakeLists.txt
@@ -4,8 +4,6 @@
4
5
cmake_minimum_required(VERSION 3.2)
6
7
-include("${CMAKE_CURRENT_LIST_DIR}/cmake/HunterGate.cmake")
8
-
9
if (NOT HUNTER_URL AND NOT HUNTER_SHA1)
10
file(
11
DOWNLOAD https://api.github.com/repos/cpp-pm/hunter/releases/latest
@@ -66,7 +64,7 @@ endif()
66
64
67
65
file(WRITE
68
${CMAKE_BINARY_DIR}/HunterSetup.cmake.in
69
- "include(${CMAKE_BINARY_DIR}/HunterGate.cmake)\n"
+ "include(\"${CMAKE_CURRENT_LIST_DIR}/cmake/HunterGate.cmake\")\n"
70
"HunterGate(
71
URL ${HUNTER_URL}
72
SHA1 ${HUNTER_SHA1}
0 commit comments