tox-weechat/cmake/FindWeeChat.cmake

26 lines
1002 B
CMake
Raw Permalink Normal View History

2017-02-04 01:00:25 +01:00
#
2018-04-12 23:42:34 +02:00
# Copyright (c) 2018 Håvard Pettersson <mail@haavard.me>.
2017-02-04 01:00:25 +01:00
#
# This file is part of Tox-WeeChat.
#
# Tox-WeeChat is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Tox-WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Tox-WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
find_path(WeeChat_INCLUDE_DIRS weechat/weechat-plugin.h)
include(FindPackageHandleStandardArgs)
2017-02-04 01:03:47 +01:00
find_package_handle_standard_args(WeeChat
FOUND_VAR WeeChat_FOUND
REQUIRED_VARS WeeChat_INCLUDE_DIRS)