CMake: fix hybrid detection, and SDL libs detection

* The check for hybrids sometimes didn't work because the end of line
from the compiler output was stripped. Make sure there is always a
newline in the string so the regexp can match.
* The path prefix for SDL sub-libraries (image, ttf and mixer) are
wrong. Add the correct prefix, but leave the wrong ones for backward
compatibility.
This commit is contained in:
Adrien Destugues
2014-01-05 22:54:49 +01:00
parent d289d81e5a
commit f4c103d15e
2 changed files with 77 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ LICENSE="CMake"
COPYRIGHT="2002-2013 Kitware, Inc., Insight Consortium, All rights reserved."
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz"
CHECKSUM_MD5="6f5d7b8e7534a5d9e1a7664ba63cf882"
REVISION="6"
REVISION="7"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="