From 4e307522d110052ed653cdb73fc29a20a26683ae Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 20 Oct 2015 16:47:23 +0200 Subject: [PATCH] Fix compilation with system angelscript Upstream names the shared library angelscript_s. In addition, add more common PATH_SUFFIXES. --- cmake/FindAngelscript.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FindAngelscript.cmake b/cmake/FindAngelscript.cmake index 09020c319..8cfa56bd9 100644 --- a/cmake/FindAngelscript.cmake +++ b/cmake/FindAngelscript.cmake @@ -14,11 +14,11 @@ FIND_PATH(Angelscript_INCLUDE_DIRS angelscript.h ) FIND_LIBRARY(Angelscript_LIBRARY - NAMES angelscript + NAMES angelscript angelscript_s PATHS /usr/local /usr - PATH_SUFFIXES lib + PATH_SUFFIXES lib lib64 lib32 ) # handle the QUIETLY and REQUIRED arguments and set ANGELSCRIPT_FOUND to TRUE if