1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge branch 'add_sol3' into 'master'

Add sol3.2.2/sol/sol.hpp to extern instead of downloading during building

See merge request OpenMW/openmw!1012
This commit is contained in:
psi29a 2021-07-12 10:47:32 +00:00
commit 08d6ec5b84
3 changed files with 26679 additions and 5 deletions

View File

@ -404,11 +404,8 @@ else(USE_LUAJIT)
add_compile_definitions(NO_LUAJIT)
endif(USE_LUAJIT)
# Download sol - C++ library binding to Lua
file(DOWNLOAD
"https://github.com/ThePhD/sol2/releases/download/v3.2.2/sol.hpp" "${OpenMW_BINARY_DIR}/extern/sol3.2.2/sol/sol.hpp"
EXPECTED_MD5 ba113cf458f60672917108e69bb4d958)
set(SOL_INCLUDE_DIRS ${OpenMW_BINARY_DIR}/extern/sol3.2.2 ${OpenMW_SOURCE_DIR}/extern/sol_config)
# C++ library binding to Lua
set(SOL_INCLUDE_DIRS ${OpenMW_SOURCE_DIR}/extern/sol3.2.2 ${OpenMW_SOURCE_DIR}/extern/sol_config)
include_directories(
BEFORE SYSTEM

3
extern/sol3.2.2/README.md vendored Normal file
View File

@ -0,0 +1,3 @@
sol/sol.hpp is downloaded from https://github.com/ThePhD/sol2/releases/download/v3.2.2/sol.hpp
License: MIT

26674
extern/sol3.2.2/sol/sol.hpp vendored Normal file

File diff suppressed because it is too large Load Diff