tox-weechat/cmake/FindTox.cmake
2015-01-30 13:55:19 +00:00

9 lines
298 B
CMake

find_path(TOX_INCLUDE_DIR tox/tox.h)
find_path(TOXAV_INCLUDE_DIR tox/toxav.h)
find_library(TOX_LIBRARY toxcore)
find_library(TOXAV_LIBRARY toxav)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Tox DEFAULT_MSG TOX_INCLUDE_DIR TOXAV_INCLUDE_DIR TOX_LIBRARY TOXAV_LIBRARY)