- updated copyright notice in cmake/FindSDL2.cmake.

This is based on the update to FindSDL.cmake from commit 86578eccf2e82286248796bad1032cd0e3a5e1e2 in the CMake repository.
This commit is contained in:
NY00123 2020-09-26 19:18:56 +03:00 committed by drfrag
parent 7d3abb8d41
commit 1bed1a9c79

View file

@ -1,3 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# Locate SDL2 library # Locate SDL2 library
# This module defines # This module defines
# SDL2_LIBRARY, the name of the library to link against # SDL2_LIBRARY, the name of the library to link against
@ -57,19 +60,6 @@
# was not created for redistribution, and exists temporarily pending official # was not created for redistribution, and exists temporarily pending official
# SDL2 CMake modules. # SDL2 CMake modules.
#=============================================================================
# Copyright 2003-2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
FIND_PATH(SDL2_INCLUDE_DIR SDL.h FIND_PATH(SDL2_INCLUDE_DIR SDL.h
HINTS HINTS
$ENV{SDL2DIR} $ENV{SDL2DIR}