#  SPDX-License-Identifier: GPL-2.0-or-later
#[[
Library, responsible for handling custom URL scemas.
]]
set( SOURCES
   URLSchemesRegistry.cpp
   URLSchemesRegistry.h

   $<$<PLATFORM_ID:Windows>:win/SchemeRegistrar.cpp>
   $<$<PLATFORM_ID:Darwin>:macos/SchemeRegistrar.cpp>
)

set( LIBRARIES
   PRIVATE
   lib-string-utils-interface
   lib-utility-interface
   wxBase
)

set ( DEFINES INTERFACE -DHAS_CUSTOM_URL_HANDLING )

audacity_library( lib-url-schemes "${SOURCES}" "${LIBRARIES}"
   "${DEFINES}" ""
)
