ZLMediaKit/cmake/FindFAAC.cmake

17 lines
291 B
CMake
Raw Normal View History

2017-05-02 18:10:47 +08:00
find_path(FAAC_INCLUDE_DIR
NAMES faac.h
)
find_library(FAAC_LIBRARY
NAMES faac
)
set(FAAC_INCLUDE_DIRS ${FAAC_INCLUDE_DIR})
2017-05-11 22:10:12 +08:00
set(FAAC_LIBRARIES ${FAAC_LIBRARY})
2017-05-02 18:10:47 +08:00
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(FAAC DEFAULT_MSG FAAC_LIBRARY FAAC_INCLUDE_DIR)