Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmake_modules/FindThriftAlt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ endif()
include(FindPackageHandleStandardArgs)
if(TARGET thrift::thrift)
# CONFIG mode already produced the target; satisfy REQUIRED_VARS with it.
set(ThriftAlt_TARGET thrift::thrift)
find_package_handle_standard_args(
ThriftAlt
REQUIRED_VARS thrift::thrift
REQUIRED_VARS ThriftAlt_TARGET
VERSION_VAR ThriftAlt_VERSION)
else()
find_package_handle_standard_args(
Expand Down
Loading