mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-30 21:33:34 +08:00
14 lines
318 B
CMake
14 lines
318 B
CMake
|
|
||
|
find_path(FAAD2_INCLUDE_DIR faad.h)
|
||
|
|
||
|
find_library(FAAD2_LIBRARY faad)
|
||
|
|
||
|
find_package_handle_standard_args(FAAD2 DEFAULT_MSG FAAD2_INCLUDE_DIR FAAD2_LIBRARY)
|
||
|
|
||
|
if(FAAD2_FOUND)
|
||
|
set(FAAD2_LIBRARIES ${FAAD2_LIBRARY})
|
||
|
set(FAAD2_INCLUDE_DIRS ${FAAD2_INCLUDE_DIR})
|
||
|
endif()
|
||
|
|
||
|
mark_as_advanced(FAAD2_INCLUDE_DIR FAAD2_LIBRARY)
|