Fix compilation with system angelscript
Upstream names the shared library angelscript_s. In addition, add more common PATH_SUFFIXES.
This commit is contained in:
parent
54a0e50fe3
commit
4e307522d1
@ -14,11 +14,11 @@ FIND_PATH(Angelscript_INCLUDE_DIRS angelscript.h
|
|||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(Angelscript_LIBRARY
|
FIND_LIBRARY(Angelscript_LIBRARY
|
||||||
NAMES angelscript
|
NAMES angelscript angelscript_s
|
||||||
PATHS
|
PATHS
|
||||||
/usr/local
|
/usr/local
|
||||||
/usr
|
/usr
|
||||||
PATH_SUFFIXES lib
|
PATH_SUFFIXES lib lib64 lib32
|
||||||
)
|
)
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set ANGELSCRIPT_FOUND to TRUE if
|
# handle the QUIETLY and REQUIRED arguments and set ANGELSCRIPT_FOUND to TRUE if
|
||||||
|
Loading…
Reference in New Issue
Block a user