find_dependency: unset cmake_fd_version variable at end of macro

This matches the other macro variables.
This commit is contained in:
Alex Merry 2014-02-26 11:41:48 +00:00 committed by Brad King
parent 85d0f8de7e
commit 3d8f7102bb
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ macro(find_dependency dep)
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND False) set(${CMAKE_FIND_PACKAGE_NAME}_FOUND False)
return() return()
endif() endif()
set(cmake_fd_version)
set(cmake_fd_required_arg) set(cmake_fd_required_arg)
set(cmake_fd_quiet_arg) set(cmake_fd_quiet_arg)
set(cmake_fd_exact_arg) set(cmake_fd_exact_arg)