summaryrefslogtreecommitdiff
path: root/Modules/CMakeFindDependencyMacro.cmake
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-02-26 11:41:35 +0000
committerBrad King <brad.king@kitware.com>2014-02-26 10:27:01 -0500
commit85d0f8de7e44ddb4b9a788347079e76d16a19f21 (patch)
treeba297f9eab66681f28e6154dd368bc17cdb75462 /Modules/CMakeFindDependencyMacro.cmake
parent2be6dbe4207cda39b479e7c81d172d49dd67cc38 (diff)
downloadcmake-85d0f8de7e44ddb4b9a788347079e76d16a19f21.tar.gz
find_dependency: use correct version variable name
The code set cmake_fd_version, but used ${version}.
Diffstat (limited to 'Modules/CMakeFindDependencyMacro.cmake')
-rw-r--r--Modules/CMakeFindDependencyMacro.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindDependencyMacro.cmake b/Modules/CMakeFindDependencyMacro.cmake
index 08c4990c2a..cf0206b67e 100644
--- a/Modules/CMakeFindDependencyMacro.cmake
+++ b/Modules/CMakeFindDependencyMacro.cmake
@@ -50,7 +50,7 @@ macro(find_dependency dep)
_CMAKE_${dep}_TRANSITIVE_DEPENDENCY
)
- find_package(${dep} ${version}
+ find_package(${dep} ${cmake_fd_version}
${cmake_fd_exact_arg}
${cmake_fd_quiet_arg}
${cmake_fd_required_arg}