bettola/common/CMakeLists.txt

17 lines
362 B
CMake

find_package(Lua 5.4 REQUIRED)
file(GLOB_RECURSE BETTOLA_SOURCES "src/*.cpp")
add_library(bettola
${BETTOLA_SOURCES}
)
target_link_libraries(bettola PUBLIC ${LUA_LIBRARIES} sol2 sqlite)
target_include_directories(bettola PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
${LUA_INCLUDE_DIR}
${asio_SOURCE_DIR}/asio/include
${sqlite_modern_cpp_SOURCE_DIR}/hdr
)