summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/GRASTool.in.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GRASTool.in.cmake b/cmake/Modules/GRASTool.in.cmake
index a478e3a..54c9695 100644
--- a/cmake/Modules/GRASTool.in.cmake
+++ b/cmake/Modules/GRASTool.in.cmake
@@ -146,7 +146,7 @@ function(GRAS_TOOL)
get_target_property(module_location ${GRAS_TOOL_TARGET} LOCATION)
string(REGEX REPLACE "\\$\\(.*\\)" ${CMAKE_BUILD_TYPE} module_location ${module_location})
- set(${GRAS_TOOL_TARGET}_LOCATION ${module_location} PARENT_SCOPE)
+ set(${GRAS_TOOL_TARGET}_LOCATION ${module_location} CACHE INTERNAL "")
endif()