Updating a few things.

This commit is contained in:
Deathsbreed
2016-03-30 16:36:13 +02:00
parent 263b26c300
commit 75e46bc0ab
4 changed files with 8 additions and 26 deletions

View File

@ -0,0 +1,17 @@
find_path(IRRLICHT_INCLUDE_DIR irrlicht/irrlicht.h
PATHS ${IRRDIR}/include
PATH_SUFFIXES irrlicht
)
message(STATUS "IRRLICHT_INCLUDE_DIR = ${IRRLICHT_INCLUDE_DIR}")
find_library(IRRLICHT_LIBRARY NAMES libIrrlicht.so
PATHS $ENV{IRRDIR}/lib
)
message(STATUS "IRRLICHT_LIBRARY = ${IRRLICHT_LIBRARY}")
if(IRRLICHT_INCLUDE_DIR AND IRRLICHT_LIBRARY)
set(Irrlicht_FOUND true)
endif(IRRLICHT_INCLUDE_DIR AND IRRLICHT_LIBRARY)