mirror of
https://github.com/devZoGok/gameBase.git
synced 2026-08-26 19:43:28 +00:00
added sol submodule
This commit is contained in:
@@ -4,3 +4,6 @@
|
||||
[submodule "external/lua-cmake"]
|
||||
path = external/lua-cmake
|
||||
url = https://github.com/lubgr/lua-cmake
|
||||
[submodule "external/sol2"]
|
||||
path = external/sol2
|
||||
url = https://github.com/ThePhD/sol2
|
||||
|
||||
@@ -20,4 +20,9 @@ target_link_directories(${LIB_NAME} PUBLIC ${GLFW_LIB_DIR})
|
||||
set(LUA_DIR external/lua-cmake)
|
||||
add_subdirectory(${LUA_DIR})
|
||||
target_include_directories(${LIB_NAME} PUBLIC ${LUA_DIR}/external/upstream)
|
||||
|
||||
set(SOL_DIR external/sol2)
|
||||
add_subdirectory(${SOL_DIR})
|
||||
target_include_directories(${LIB_NAME} PUBLIC ${SOL_DIR}/include/sol)
|
||||
|
||||
target_link_libraries(${LIB_NAME} glfw lua::lib)
|
||||
|
||||
+1
Submodule external/sol2 added at 9c882a28fd
Reference in New Issue
Block a user