Added cmake build items for required libs.

This commit is contained in:
Kevin Whitaker
2017-01-27 20:28:58 -05:00
parent ca53e4d706
commit 54029126a1
4 changed files with 172 additions and 2 deletions

16
cmake/FindGroove.cmake Normal file
View File

@@ -0,0 +1,16 @@
# Copyright (c) 2015 Andrew Kelley
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT
# GROOVE_FOUND
# GROOVE_INCLUDE_DIR
# GROOVE_LIBRARY
find_path(GROOVE_INCLUDE_DIR NAMES groove/groove.h)
find_library(GROOVE_LIBRARY NAMES groove)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GROOVE DEFAULT_MSG GROOVE_LIBRARY GROOVE_INCLUDE_DIR)
mark_as_advanced(GROOVE_INCLUDE_DIR GROOVE_LIBRARY)