|
@@ -51,19 +51,30 @@
|
51
|
51
|
# This needed to change because "proper" SDL convention
|
52
|
52
|
# is #include "SDL.h", not <SDL2/SDL.h>. This is done for portability
|
53
|
53
|
# reasons because not all systems place things in SDL2/ (see FreeBSD).
|
54
|
|
-
|
55
|
|
-#=============================================================================
|
56
|
|
-# Copyright 2003-2009 Kitware, Inc.
|
57
|
54
|
#
|
58
|
|
-# Distributed under the OSI-approved BSD License (the "License");
|
59
|
|
-# see accompanying file Copyright.txt for details.
|
|
55
|
+# =============================================================================
|
|
56
|
+# Copyright 2003-2009 Kitware, Inc.
|
60
|
57
|
#
|
61
|
|
-# This software is distributed WITHOUT ANY WARRANTY; without even the
|
62
|
|
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
63
|
|
-# See the License for more information.
|
64
|
|
-#=============================================================================
|
65
|
|
-# (To distribute this file outside of CMake, substitute the full
|
66
|
|
-# License text for the above reference.)
|
|
58
|
+# Redistribution and use in source and binary forms, with or without
|
|
59
|
+# modification, are permitted provided that the following conditions are met:
|
|
60
|
+#
|
|
61
|
+# 1. Redistributions of source code must retain the above copyright notice, this
|
|
62
|
+# list of conditions and the following disclaimer.
|
|
63
|
+# 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
64
|
+# this list of conditions and the following disclaimer in the documentation
|
|
65
|
+# and/or other materials provided with the distribution.
|
|
66
|
+#
|
|
67
|
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
68
|
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
69
|
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
70
|
+# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
71
|
+# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
72
|
+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
73
|
+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
74
|
+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
75
|
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
76
|
+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
77
|
+# =============================================================================
|
67
|
78
|
|
68
|
79
|
SET(SDL2TTF_SEARCH_PATHS
|
69
|
80
|
~/Library/Frameworks
|
|
@@ -160,4 +171,4 @@ ENDIF(SDL2TTF_LIBRARY_TEMP)
|
160
|
171
|
|
161
|
172
|
INCLUDE(FindPackageHandleStandardArgs)
|
162
|
173
|
|
163
|
|
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2TTF REQUIRED_VARS SDL2TTF_LIBRARY SDL2TTF_INCLUDE_DIR)
|
|
174
|
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2TTF REQUIRED_VARS SDL2TTF_LIBRARY SDL2TTF_INCLUDE_DIR)
|