axmol/thirdparty/websocket-parser/CMakeLists.txt

15 lines
272 B
CMake
Raw Normal View History

2023-12-31 22:23:25 +08:00
set(lib_name websocket-parser)
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_include_directories(${target_name} PUBLIC "${CMAKE_CURRENT_LIST_DIR}")