File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2013-2014, Ruslan Baratov
2
- # Copyright (c) 2019 Cristian Adam
2
+ # Copyright (c) 2019-2020 Cristian Adam
3
3
# All rights reserved.
4
4
5
5
cmake_minimum_required (VERSION 3.2)
@@ -148,8 +148,16 @@ if (ORIGINAL_TOOLCHAIN_FILE)
148
148
endif ()
149
149
150
150
#
151
- # Make sure the parent find_package calls work as expected
151
+ # Make sure the parent find_package and include calls work as expected
152
152
#
153
153
154
- set (CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} PARENT_SCOPE)
155
- set (CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE)
154
+ set (CMAKE_FIND_ROOT_PATH "${CMAKE_FIND_ROOT_PATH} " PARENT_SCOPE)
155
+ set (CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH} " PARENT_SCOPE)
156
+ set (CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH} " PARENT_SCOPE)
157
+
158
+ #
159
+ # Variables expected to be found in global scope
160
+ #
161
+ set (HUNTER_ID_PATH "${HUNTER_ID_PATH} " PARENT_SCOPE)
162
+ set (HUNTER_TOOLCHAIN_ID_PATH "${HUNTER_TOOLCHAIN_ID_PATH} " PARENT_SCOPE)
163
+ set (HUNTER_CONFIG_ID_PATH "${HUNTER_CONFIG_ID_PATH} " PARENT_SCOPE)
You can’t perform that action at this time.
0 commit comments