Line
Link Here
|
0 |
-- src/CMakeLists.txt |
0 |
++ src/CMakeLists.txt |
Lines 144-153
Link Here
|
144 |
|
144 |
|
145 |
find_package(Jthread REQUIRED) |
145 |
find_package(Jthread REQUIRED) |
146 |
find_package(Sqlite3 REQUIRED) |
146 |
find_package(Sqlite3 REQUIRED) |
147 |
|
147 |
find_package(Lua51 REQUIRED) |
148 |
# TODO: Create proper find script for Lua |
148 |
|
149 |
set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src") |
|
|
150 |
set(LUA_LIBRARY "lua") |
151 |
|
149 |
|
152 |
configure_file( |
150 |
configure_file( |
153 |
"${PROJECT_SOURCE_DIR}/cmake_config.h.in" |
151 |
"${PROJECT_SOURCE_DIR}/cmake_config.h.in" |
Lines 476-484
Link Here
|
476 |
add_subdirectory(sqlite) |
474 |
add_subdirectory(sqlite) |
477 |
endif (SQLITE3_FOUND) |
475 |
endif (SQLITE3_FOUND) |
478 |
|
476 |
|
479 |
if (LUA_FOUND) |
477 |
if (LUA_LIBRARY AND LUA_INCLUDE_DIR) |
480 |
else (LUA_FOUND) |
478 |
else (LUA_LIBRARY AND LUA_INCLUDE_DIR) |
481 |
add_subdirectory(lua) |
479 |
add_subdirectory(lua) |
482 |
endif (LUA_FOUND) |
480 |
endif (LUA_LIBRARY AND LUA_INCLUDE_DIR) |
483 |
|
481 |
|
484 |
#end |
482 |
#end |