diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx index b1972f237..d83cc7bd6 100644 --- a/Source/cmFindFileCommand.cxx +++ b/Source/cmFindFileCommand.cxx @@ -114,6 +114,9 @@ cmStdString cmFindFileCommand::FindHeaderInFrameworks( const char* file) { #ifndef __APPLE__ + (void)path; + (void)defineVar; + (void)file; return cmStdString(""); #else cmStdString fileName = file; diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 2960749b7..4e2b01c2e 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -307,6 +307,7 @@ void cmTarget::AddLinkLibrary(const std::string& lib, bool cmTarget::AddFramework(const std::string& libname, LinkLibraryType llt) { + (void)llt; // TODO: What is this? if(cmSystemTools::IsPathToFramework(libname.c_str())) { std::string frameworkDir = libname;