Merge branch 'fix-find_dependency-macro' into release
This commit is contained in:
commit
948d5d18fd
|
@ -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}
|
||||||
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue