FindEsound.cmake 546 B

1234567891011121314151617
  1. # Copyright (c) 2008-2022 the Urho3D project
  2. # License: MIT
  3. # Find Esound development library
  4. #
  5. # ESOUND_FOUND
  6. # ESOUND_INCLUDE_DIRS
  7. # ESOUND_LIBRARIES
  8. #
  9. find_path (ESOUND_INCLUDE_DIRS NAMES esd.h DOC "Esound include directory")
  10. find_library (ESOUND_LIBRARIES NAMES esd DOC "Esound library")
  11. include (FindPackageHandleStandardArgs)
  12. find_package_handle_standard_args (Esound REQUIRED_VARS ESOUND_LIBRARIES ESOUND_INCLUDE_DIRS FAIL_MESSAGE "Could NOT find Esound development library")
  13. mark_as_advanced (ESOUND_INCLUDE_DIRS ESOUND_LIBRARIES)