Line
Link Here
|
0 |
-- a/CMakeLists.txt |
0 |
++ b/CMakeLists.txt |
Lines 147-201
Link Here
|
147 |
ELSE(ENABLE_LUAJIT MATCHES "ON") |
147 |
ELSE(ENABLE_LUAJIT MATCHES "ON") |
148 |
"lua-5.3" |
148 |
MODULES lua) |
149 |
LIB_SUFFIXES "lua5.3" |
|
|
150 |
INCLUDE lua.h INCLUDE_SUFFIXES |
151 |
"include/lua-5.3" |
152 |
"include/lua5.3" |
153 |
"include/lua53" |
154 |
"include/lua" |
155 |
ROOT ${LUA_ROOT} |
156 |
MODULES lua53 |
157 |
OPTIONAL) |
158 |
|
159 |
IF (NOT WITH_LIBLUA) |
160 |
ProcessPackage(LIBLUA LIBRARY "lua" |
161 |
"lua-5.4" |
162 |
LIB_SUFFIXES "lua5.4" |
163 |
INCLUDE lua.h INCLUDE_SUFFIXES |
164 |
"include/lua-5.4" |
165 |
"include/lua5.4" |
166 |
"include/lua54" |
167 |
"include/lua" |
168 |
ROOT ${LUA_ROOT} |
169 |
MODULES lua54 |
170 |
OPTIONAL) |
171 |
IF (NOT WITH_LIBLUA) |
172 |
ProcessPackage(LIBLUA LIBRARY "lua" |
173 |
"lua-5.2" |
174 |
LIB_SUFFIXES "lua5.2" |
175 |
INCLUDE lua.h INCLUDE_SUFFIXES |
176 |
"include/lua-5.2" |
177 |
"include/lua5.2" |
178 |
"include/lua52" |
179 |
"include/lua" |
180 |
ROOT ${LUA_ROOT} |
181 |
MODULES lua52 |
182 |
OPTIONAL) |
183 |
|
184 |
IF (NOT WITH_LIBLUA) |
185 |
ProcessPackage(LIBLUA LIBRARY "lua" |
186 |
"lua-5.1" |
187 |
INCLUDE lua.h INCLUDE_SUFFIXES |
188 |
"include/lua-5.1" |
189 |
"include/lua5.1" |
190 |
"include/lua51" |
191 |
"include/lua" |
192 |
ROOT ${LUA_ROOT} |
193 |
MODULES lua51) |
194 |
ENDIF() |
195 |
ENDIF() |
196 |
ENDIF() |
197 |
ENDIF(ENABLE_LUAJIT MATCHES "ON") |
149 |
ENDIF(ENABLE_LUAJIT MATCHES "ON") |