Last active
February 17, 2018 11:08
-
-
Save thestr4ng3r/f1f103a5cada50d6690e9a02c33295b8 to your computer and use it in GitHub Desktop.
CMake find module for FLAC++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - Find libFLAC++ | |
# | |
# This module defines | |
# FLACPP_FOUND - True if libFLAC++ has been found. | |
# FLACPP_LIBRARIES - List of libraries when using libFLAC++. | |
# FLACPP_INCLUDE_DIRS - libFLAC++ include directories. | |
# Look for the header file. | |
find_path(FLACPP_INCLUDE_DIRS | |
NAMES FLAC++/all.h FLAC++/decoder.h FLAC++/encoder.h FLAC++/export.h FLAC++/metadata.h) | |
# Find the library. | |
find_library(FLACPP_LIBRARIES | |
NAMES FLAC++) | |
include(FindPackageHandleStandardArgs) | |
find_package_handle_standard_args(FLACPP DEFAULT_MSG FLACPP_LIBRARIES FLACPP_INCLUDE_DIRS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment