Skip to content
Permalink
Browse files

Improve FindIrrlicht.cmake module

Linux distributions prefer to link against a shared version of the Irrlicht
engine instead of using embedded code copies of the same. Search for this
shared version first and use that but fall back to the static version if it
does not exist.

This also fixes #2163
  • Loading branch information
apoleon authored and nerzhul committed Feb 21, 2015
1 parent c5defe7 commit 47d9b4d9aa80e0268501b8eb927b37ee3660c503
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/Modules/FindIrrlicht.cmake
@@ -44,7 +44,7 @@ else()
/usr/include/irrlicht
)

FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.a Irrlicht
FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.so libIrrlicht.a Irrlicht
PATHS
/usr/local/lib
/usr/lib

0 comments on commit 47d9b4d

Please sign in to comment.
You can’t perform that action at this time.