Skip to content

Commit

Permalink
PROTON-1974: Correctly detect libraries with earlier versions of CMake
Browse files Browse the repository at this point in the history
Patch-from: Jiri Daněk
  • Loading branch information
vagrant committed Nov 29, 2018
1 parent ba8c591 commit b1ec546
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/cmake/Modules/FindCyrusSASL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ set (CyrusSASL_VERSION ${PC_CyrusSASL_VERSION})

include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (CyrusSASL
FOUND_VAR CyrusSASL_FOUND
REQUIRED_VARS CyrusSASL_LIBRARY CyrusSASL_INCLUDE_DIR
VERSION_VAR CyrusSASL_VERSION
)
Expand Down
1 change: 1 addition & 0 deletions tools/cmake/Modules/FindJsonCpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ set(JsonCpp_VERSION ${PC_JsonCpp_VERSION})

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(JsonCpp
FOUND_VAR JsonCpp_FOUND
REQUIRED_VARS JsonCpp_LIBRARY JsonCpp_INCLUDE_DIR
VERSION_VAR JsonCpp_VERSION)

Expand Down
1 change: 1 addition & 0 deletions tools/cmake/Modules/FindLibuv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ set(Libuv_VERSION ${PC_Libuv_VERSION})

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libuv
FOUND_VAR Libuv_FOUND
REQUIRED_VARS Libuv_LIBRARY Libuv_INCLUDE_DIR
VERSION_VAR Libuv_VERSION)

Expand Down

0 comments on commit b1ec546

Please sign in to comment.