summaryrefslogtreecommitdiff
path: root/Source/cmGetFilenameComponentCommand.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2003-01-23 10:35:14 -0500
committerSebastien Barre <sebastien.barre@kitware.com>2003-01-23 10:35:14 -0500
commit937c87bd6973771698128c7ee5f88fe0f38136a2 (patch)
tree5ba942a493142de44d36eca5422bd8ba0e079c0e /Source/cmGetFilenameComponentCommand.cxx
parentb05c5e89ed65c04b79c3874acc42b682e8522ad6 (diff)
downloadcmake-937c87bd6973771698128c7ee5f88fe0f38136a2.tar.gz
FIX: this command was not processing its arg to expand registery values
Diffstat (limited to 'Source/cmGetFilenameComponentCommand.cxx')
-rw-r--r--Source/cmGetFilenameComponentCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGetFilenameComponentCommand.cxx b/Source/cmGetFilenameComponentCommand.cxx
index c030d18590..2fded7ea97 100644
--- a/Source/cmGetFilenameComponentCommand.cxx
+++ b/Source/cmGetFilenameComponentCommand.cxx
@@ -39,6 +39,7 @@ bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string> const&
std::string result;
std::string filename = args[1];
+ cmSystemTools::ExpandRegistryValues(filename);
std::string storeArgs;
std::string programArgs;
if (args[2] == "PATH")