From f59dab5914864c45bbbf8b3b117cd8d3a5a40f4e Mon Sep 17 00:00:00 2001 From: auria Date: Tue, 6 Mar 2012 21:18:32 +0000 Subject: [PATCH] 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 --- cmake/FindIrrlicht.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindIrrlicht.cmake b/cmake/FindIrrlicht.cmake index 5ddcb3bae..ed93e0092 100644 --- a/cmake/FindIrrlicht.cmake +++ b/cmake/FindIrrlicht.cmake @@ -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})