axmol/thirdparty/llhttp/CMakeLists.txt

15 lines
313 B
CMake

set(lib_name llhttp)
set(target_name ${lib_name})
project(${lib_name})
file(GLOB_RECURSE ${target_name}_src *.h;*.c)
add_library(${target_name} STATIC
${${target_name}_src}
)
target_compile_definitions(${target_name} PUBLIC LLHTTP_STRICT_MODE=0)
target_include_directories(${target_name} PUBLIC "include")