tox-weechat/cmake/FindWeeChat.cmake
Håvard Pettersson 7b9f8a48fd Improve CMake find modules.
This adds the possibility for Tox modules like AV to be optional.
2015-09-02 22:34:10 +02:00

5 lines
175 B
CMake

find_path(WeeChat_INCLUDE_DIRS weechat/weechat-plugin.h)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(WeeChat REQUIRED_VARS WeeChat_INCLUDE_DIRS)