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) target_include_directories(bettola PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)