Skip to content

Commit 47d9b4d

Browse files
apoleonnerzhul
authored andcommittedFeb 21, 2015
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
1 parent c5defe7 commit 47d9b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎cmake/Modules/FindIrrlicht.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ else()
4444
/usr/include/irrlicht
4545
)
4646

47-
FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.a Irrlicht
47+
FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.so libIrrlicht.a Irrlicht
4848
PATHS
4949
/usr/local/lib
5050
/usr/lib

0 commit comments

Comments
 (0)
Please sign in to comment.