find_dependency: use correct version variable name

The code set cmake_fd_version, but used ${version}.
This commit is contained in:
Alex Merry 2014-02-26 11:41:35 +00:00 committed by Brad King
parent 2be6dbe420
commit 85d0f8de7e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ macro(find_dependency dep)
_CMAKE_${dep}_TRANSITIVE_DEPENDENCY _CMAKE_${dep}_TRANSITIVE_DEPENDENCY
) )
find_package(${dep} ${version} find_package(${dep} ${cmake_fd_version}
${cmake_fd_exact_arg} ${cmake_fd_exact_arg}
${cmake_fd_quiet_arg} ${cmake_fd_quiet_arg}
${cmake_fd_required_arg} ${cmake_fd_required_arg}