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