CMake tweak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
41581f7d4d
commit
3d3bd75832
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user