Updated lua and sol2
This commit is contained in:
parent
ffe620636d
commit
8040ba5b95
|
@ -15,7 +15,7 @@ CPMAddPackage(
|
|||
CPMAddPackage(
|
||||
NAME lua
|
||||
GITHUB_REPOSITORY lua/lua
|
||||
VERSION 5.2.3
|
||||
VERSION 5.3.5
|
||||
DOWNLOAD_ONLY YES
|
||||
)
|
||||
|
||||
|
@ -34,9 +34,16 @@ endif()
|
|||
CPMAddPackage(
|
||||
NAME sol2
|
||||
GIT_REPOSITORY https://github.com/ThePhD/sol2
|
||||
VERSION 3.2.0
|
||||
VERSION 3.2.1
|
||||
DOWNLOAD_ONLY YES
|
||||
)
|
||||
|
||||
if (sol2_ADDED)
|
||||
add_library(sol2 INTERFACE IMPORTED)
|
||||
target_include_directories(sol2 INTERFACE ${sol2_SOURCE_DIR}/single/include)
|
||||
target_link_libraries(sol2 INTERFACE lua)
|
||||
endif()
|
||||
|
||||
file(GLOB_RECURSE headers CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/include/*.h")
|
||||
file(GLOB_RECURSE sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user