Sometimes you should just check to see if syntax highlighting is kicking in ...
authorsmxx
Sat, 27 Mar 2010 22:10:33 +0000
changeset 3128 8702d3479d10
parent 3127 9ebdc21aba87
child 3129 81abbf6eab4a
Sometimes you should just check to see if syntax highlighting is kicking in ...
cmake_modules/FindLua.cmake
--- a/cmake_modules/FindLua.cmake	Sat Mar 27 21:04:38 2010 +0000
+++ b/cmake_modules/FindLua.cmake	Sat Mar 27 22:10:33 2010 +0000
@@ -10,7 +10,7 @@
 		ELSE(APPLE)
 			#locate the system's lua library
 			FIND_LIBRARY(LUA_DEFAULT NAMES lua51 lua5.1 lua-5.1 lua PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib)
-			IF(${LUA_DEFAULT} EQUALS "LUA_DEFAULT-NOTFOUND")
+			IF(${LUA_DEFAULT} MATCHES "LUA_DEFAULT-NOTFOUND")
 				UNSET(LUA_DEFAULT)
 				MESSAGE(FATAL_ERROR "Couldn't find Lua 5.1 library!")
 			ENDIF()