"Fossies" - the Fresh Open Source Software Archive

Member "uriparser-0.9.7/cmake/uriparser-config.cmake.in" (5 Oct 2022, 2243 Bytes) of package /linux/www/uriparser-0.9.7.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "uriparser-config.cmake.in": 0.9.3_vs_0.9.4.

    1 # uriparser - RFC 3986 URI parsing library
    2 #
    3 # Copyright (C) 2018, Sebastian Pipping <sebastian@pipping.org>
    4 # All rights reserved.
    5 #
    6 # Redistribution and use in source  and binary forms, with or without
    7 # modification, are permitted provided  that the following conditions
    8 # are met:
    9 #
   10 #     1. Redistributions  of  source  code   must  retain  the  above
   11 #        copyright notice, this list  of conditions and the following
   12 #        disclaimer.
   13 #
   14 #     2. Redistributions  in binary  form  must  reproduce the  above
   15 #        copyright notice, this list  of conditions and the following
   16 #        disclaimer  in  the  documentation  and/or  other  materials
   17 #        provided with the distribution.
   18 #
   19 #     3. Neither the  name of the  copyright holder nor the  names of
   20 #        its contributors may be used  to endorse or promote products
   21 #        derived from  this software  without specific  prior written
   22 #        permission.
   23 #
   24 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   25 # "AS IS" AND  ANY EXPRESS OR IMPLIED WARRANTIES,  INCLUDING, BUT NOT
   26 # LIMITED TO,  THE IMPLIED WARRANTIES OF  MERCHANTABILITY AND FITNESS
   27 # FOR  A  PARTICULAR  PURPOSE  ARE  DISCLAIMED.  IN  NO  EVENT  SHALL
   28 # THE  COPYRIGHT HOLDER  OR CONTRIBUTORS  BE LIABLE  FOR ANY  DIRECT,
   29 # INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   30 # (INCLUDING, BUT NOT LIMITED TO,  PROCUREMENT OF SUBSTITUTE GOODS OR
   31 # SERVICES; LOSS OF USE, DATA,  OR PROFITS; OR BUSINESS INTERRUPTION)
   32 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   33 # STRICT  LIABILITY,  OR  TORT (INCLUDING  NEGLIGENCE  OR  OTHERWISE)
   34 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   35 # OF THE POSSIBILITY OF SUCH DAMAGE.
   36 #
   37 if(NOT _uriparser_config_included)
   38     # Protect against multiple inclusion
   39     set(_uriparser_config_included TRUE)
   40 
   41 
   42 include("${CMAKE_CURRENT_LIST_DIR}/uriparser.cmake")
   43 
   44 @PACKAGE_INIT@
   45 
   46 #
   47 # Supported components
   48 #
   49 macro(_register_component _NAME _AVAILABE)
   50     set(uriparser_${_NAME}_FOUND ${_AVAILABE})
   51 endmacro()
   52 _register_component(char @URIPARSER_BUILD_CHAR@)
   53 _register_component(wchar_t @URIPARSER_BUILD_WCHAR_T@)
   54 check_required_components(uriparser)
   55 
   56 
   57 endif(NOT _uriparser_config_included)