summaryrefslogtreecommitdiffstats
path: root/cmake/FindFAAC.cmake
blob: 61e0d274765e6fd5092a6993004f3794a533fdda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
find_path(FAAC_INCLUDE_DIR faac.h)

find_library(FAAC_LIBRARY faac)

find_package_handle_standard_args(FAAC DEFAULT_MSG FAAC_INCLUDE_DIR FAAC_LIBRARY)

if(FAAC_FOUND)
	set(FAAC_LIBRARIES ${FAAC_LIBRARY})
	set(FAAC_INCLUDE_DIRS ${FAAC_INCLUDE_DIR})
endif()

mark_as_advanced(FAAC_INCLUDE_DIR FAAC_LIBRARY)