1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 12:35:46 +00:00

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

This commit is contained in:
Petr Mikheev 2021-07-12 11:46:32 +02:00
parent 5287c9627c
commit 4db5fa351d
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