Gittyup/dep/lpeg/CMakeLists.txt
Martin Marmsoler 9bd742233e format code
2022-05-01 09:51:34 +02:00

10 lines
308 B
CMake

set(LPEG_DIR lpeg-1.0.2)
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})