mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-03 09:46:04 -04:00
13 lines
260 B
CMake
13 lines
260 B
CMake
cmake_minimum_required (VERSION 3.13)
|
|
project (libdeflate)
|
|
|
|
file(GLOB_RECURSE SOURCE
|
|
"common/**/*.c"
|
|
"common/**/*.h"
|
|
"lib/*.c"
|
|
"lib/*.h"
|
|
)
|
|
|
|
add_library(libdeflate libdeflate.h ${SOURCE})
|
|
target_include_directories(libdeflate PUBLIC "${CMAKE_PROJECT_DIR}")
|