FindNAS.cmake 592 B

1234567891011121314151617
  1. # Copyright (c) 2008-2022 the Urho3D project
  2. # License: MIT
  3. # Find NetworkAudioSystem development library
  4. #
  5. # NAS_FOUND
  6. # NAS_INCLUDE_DIRS
  7. # NAS_LIBRARIES
  8. #
  9. find_path (NAS_INCLUDE_DIRS NAMES audio/audiolib.h nas/audiolib.h DOC "NetworkAudioSystem include directory")
  10. find_library (NAS_LIBRARIES NAMES audio DOC "NetworkAudioSystem library")
  11. include (FindPackageHandleStandardArgs)
  12. find_package_handle_standard_args (NAS REQUIRED_VARS NAS_LIBRARIES NAS_INCLUDE_DIRS FAIL_MESSAGE "Could NOT find NetworkAudioSystem development library")
  13. mark_as_advanced (NAS_INCLUDE_DIRS NAS_LIBRARIES)