Added CMake find modules, fixing build on FreeBSD.
This commit is contained in:
parent
37e3b66691
commit
bf28ab37be
3 changed files with 21 additions and 2 deletions
4
cmake/FindWeeChat.cmake
Normal file
4
cmake/FindWeeChat.cmake
Normal file
|
@ -0,0 +1,4 @@
|
|||
find_path(WEECHAT_INCLUDE_DIR weechat/weechat-plugin.h)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(WeeChat DEFAULT_MSG WEECHAT_INCLUDE_DIR)
|
Loading…
Add table
Add a link
Reference in a new issue