From 3d3bd758322dcf524e2a49c8c549267d745c09e6 Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 24 Oct 2011 23:56:55 +0000 Subject: [PATCH] CMake tweak git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10037 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e72cb011..76ba7e071 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,6 +105,8 @@ else() if(HAVE_IRRLICHT) message("-- Irrlicht found (in ${HAVE_IRRLICHT}/irrlicht.h)") + #include_directories(${IRRLICHT_DIR} ${IRRLICHT_DIR}/include /usr/include/irrlicht/ /usr/local/include/irrlicht/) + include_directories(${HAVE_IRRLICHT}) else() message(FATAL_ERROR "\n -- Irrlicht not found (can't locate irrlicht.h)\n Use -DIRRLICHT_DIR=/path/to/irrlicht") endif()