diff options
| author | Michal Kottman <michal.kottman@gmail.com> | 2011-01-08 01:29:43 +0100 |
|---|---|---|
| committer | Michal Kottman <michal.kottman@gmail.com> | 2011-01-08 01:29:43 +0100 |
| commit | 06e3a066fcc5002c421e26f07d115aee2cb30f40 (patch) | |
| tree | 9b63d361288cc8ce4d1c7ada808a7f191650e750 | |
| parent | faf69a1397176076829eaa6cecbf131ee17e78ee (diff) | |
| download | lanes-06e3a066fcc5002c421e26f07d115aee2cb30f40.tar.gz lanes-06e3a066fcc5002c421e26f07d115aee2cb30f40.tar.bz2 lanes-06e3a066fcc5002c421e26f07d115aee2cb30f40.zip | |
Fixed CMakeLists.txt to search for lua and luac
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dcc346..be6534c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -8,6 +8,11 @@ PROJECT(lanes C) | |||
| 8 | CMAKE_MINIMUM_REQUIRED(VERSION 2.6) | 8 | CMAKE_MINIMUM_REQUIRED(VERSION 2.6) |
| 9 | INCLUDE(dist.cmake) | 9 | INCLUDE(dist.cmake) |
| 10 | 10 | ||
| 11 | FIND_PACKAGE(Lua51 REQUIRED) | ||
| 12 | FIND_PROGRAM(LUA NAMES lua5.1 lua51 lua) | ||
| 13 | FIND_PROGRAM(LUAC NAMES luac5.1 luac51 luac) | ||
| 14 | INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR}) | ||
| 15 | |||
| 11 | #2DO - patch threading.c to suppot cygwin. | 16 | #2DO - patch threading.c to suppot cygwin. |
| 12 | # The following values are just a guess. | 17 | # The following values are just a guess. |
| 13 | # WARNING: test segfault under Cygwin | 18 | # WARNING: test segfault under Cygwin |
