Make CMake find modules backwards-compatible.
This commit is contained in:
parent
5094627e27
commit
ee9c069257
@ -38,4 +38,4 @@ if(Tox_DNS_INCLUDE_DIR AND Tox_DNS_LIBRARY)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(Tox HANDLE_COMPONENTS REQUIRED_VARS Tox_INCLUDE_DIRS Tox_LIBRARIES)
|
find_package_handle_standard_args(Tox FOUND_VAR Tox_FOUND REQUIRED_VARS Tox_INCLUDE_DIRS Tox_LIBRARIES HANDLE_COMPONENTS)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
find_path(WeeChat_INCLUDE_DIRS weechat/weechat-plugin.h)
|
find_path(WeeChat_INCLUDE_DIRS weechat/weechat-plugin.h)
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(WeeChat REQUIRED_VARS WeeChat_INCLUDE_DIRS)
|
find_package_handle_standard_args(WeeChat FOUND_VAR WeeChat_FOUND REQUIRED_VARS WeeChat_INCLUDE_DIRS)
|
||||||
|
Loading…
Reference in New Issue
Block a user