Apply small patch by riebl to support more ways in which irrlicht may be installed

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-03-06 21:18:32 +00:00
parent b250a20e50
commit f59dab5914

View File

@ -27,7 +27,7 @@ endif()
# Find include directory and library
find_path(IRRLICHT_INCLUDE_DIR NAMES irrlicht.h
PATHS ${IRRLICHT_DIR} /Library/Frameworks/IrrFramework.framework/Versions/A/Headers/
PATH_SUFFIXES include)
PATH_SUFFIXES include irrlicht)
if(APPLE)
find_library(IRRLICHT_LIBRARY NAMES IrrFramework PATHS ${IRRLICHT_LIBRARY_DIR})