mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-09 12:46:56 +03:00
10 lines
308 B
CMake
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})
|