mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-02-16 14:20:41 +00:00
CMake: include luasocket after finding lua
This commit is contained in:
@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
|
||||
|
||||
|
||||
message(STATUS "You can find build instructions and a list of dependencies in the README at \
|
||||
https://github.com/BeamMP/BeamMP-Server")
|
||||
|
||||
@@ -62,9 +63,8 @@ include_directories("rapidjson/include")
|
||||
include_directories("websocketpp")
|
||||
add_subdirectory("socket.io-client-cpp")
|
||||
add_subdirectory("include/commandline")
|
||||
# luasocket
|
||||
set(WANTS_BUILD_STATIC_LIBRARY ON)
|
||||
add_subdirectory("lib/luasocket-cmake")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user