Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 47d9b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindIrrlicht.cmake
Expand Up @@ -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
Expand Down

0 comments on commit 47d9b4d

Please sign in to comment.