Gittyup/dep/lpeg/CMakeLists.txt
2018-12-12 16:22:04 -07:00

16 lines
278 B
CMake

set(LPEG_DIR lpeg-1.0.1)
add_library(lpeg
${LPEG_DIR}/lpcap.c
${LPEG_DIR}/lpcode.c
${LPEG_DIR}/lpprint.c
${LPEG_DIR}/lptree.c
${LPEG_DIR}/lpvm.c
)
target_link_libraries(lpeg lua)
target_include_directories(lpeg INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/${LPEG_DIR}
)