summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-04-11 19:13:05 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-04-11 19:13:05 (GMT)
commitf9f1ccadb370b7b3466d491b1824104d81a15308 (patch)
tree8428b8e66ce907c5befa5b86fa3fb6773722e8c4 /Source/cmFindPackageCommand.cxx
parent76e5344590f6259fcfc73d35e286509f9e260678 (diff)
downloadCMake-f9f1ccadb370b7b3466d491b1824104d81a15308.zip
CMake-f9f1ccadb370b7b3466d491b1824104d81a15308.tar.gz
CMake-f9f1ccadb370b7b3466d491b1824104d81a15308.tar.bz2
ENH: Add variable watch command
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index b4118d9..518d3a9 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -22,8 +22,10 @@
#endif
void cmFindPackageNeedBackwardsCompatibility(const std::string& variable,
- int access_type, void* )
+ int access_type, void*, const char* newValue,
+ const cmMakefile*)
{
+ (void)newValue;
#ifdef CMAKE_BUILD_WITH_CMAKE
if(access_type == cmVariableWatch::UNKNOWN_VARIABLE_READ_ACCESS)
{