summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-02-26 11:41:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-26 15:27:01 (GMT)
commit85d0f8de7e44ddb4b9a788347079e76d16a19f21 (patch)
treeba297f9eab66681f28e6154dd368bc17cdb75462 /Modules
parent2be6dbe4207cda39b479e7c81d172d49dd67cc38 (diff)
downloadCMake-85d0f8de7e44ddb4b9a788347079e76d16a19f21.zip
CMake-85d0f8de7e44ddb4b9a788347079e76d16a19f21.tar.gz
CMake-85d0f8de7e44ddb4b9a788347079e76d16a19f21.tar.bz2
find_dependency: use correct version variable name
The code set cmake_fd_version, but used ${version}.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFindDependencyMacro.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindDependencyMacro.cmake b/Modules/CMakeFindDependencyMacro.cmake
index 08c4990..cf0206b 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}