Created
November 8, 2011 09:03
-
-
Save casallas/1347323 to your computer and use it in GitHub Desktop.
Fix the FindSpidermonkey.cmake module in Flusspferd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeModules/FindSpidermonkey.cmake b/CMakeModules/FindSpidermonkey.cmake | |
index 2959614..9cf9a84 100644 | |
--- a/CMakeModules/FindSpidermonkey.cmake | |
+++ b/CMakeModules/FindSpidermonkey.cmake | |
@@ -50,13 +50,13 @@ endif() | |
if(SPIDERMONKEY_ROOT) | |
find_library( | |
SPIDERMONKEY_LIBRARY | |
- NAMES mozjs-1.9.2 mozjs js js32 js3250 | |
+ NAMES mozjs185 mozjs-1.9.2 mozjs js js32 js3250 | |
PATHS "${SPIDERMONKEY_ROOT}/lib" | |
NO_DEFAULT_PATH) | |
else() | |
find_library( | |
SPIDERMONKEY_LIBRARY | |
- NAMES mozjs-1.9.2 mozjs js js32 js3250) | |
+ NAMES mozjs185 mozjs-1.9.2 mozjs-1.9.2 mozjs js js32 js3250) | |
endif() | |
set(SPIDERMONKEY_LIBRARIES ${SPIDERMONKEY_LIBRARY}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment