mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
14 lines
292 B
CMake
14 lines
292 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
project (lpeg C)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
file(GLOB LPEG_SOURCES ${CMAKE_SOURCE_DIR}/*.c)
|
|
add_library(lpeg ${LPEG_SOURCES})
|
|
|
|
target_compile_options(lpeg PRIVATE -w)
|
|
|
|
install(TARGETS lpeg ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
|
|
# vim: set ft=cmake:
|