find_dependency: use correct version variable name
The code set cmake_fd_version, but used ${version}.
This commit is contained in:
parent
2be6dbe420
commit
85d0f8de7e
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue