summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2013-07-28 23:13:09 -0700
committerJosh Blum2013-07-28 23:13:09 -0700
commit311d63e3f0432c0dda45d622b618b303c41ec541 (patch)
treeddeaaa20b67867d41c7b038a026c0cd92dcf148b
parent9ec5c146cee17062d3273ae50d551f893536201d (diff)
downloadsandhi-311d63e3f0432c0dda45d622b618b303c41ec541.tar.gz
sandhi-311d63e3f0432c0dda45d622b618b303c41ec541.tar.bz2
sandhi-311d63e3f0432c0dda45d622b618b303c41ec541.zip
gras: make the target location global scope
-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()