mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
327 B
CMake
12 lines
327 B
CMake
5 years ago
|
set(SRCS
|
||
|
include/xxh3.h
|
||
|
include/xxhash.h
|
||
|
src/xxhash.c
|
||
|
)
|
||
|
|
||
|
add_library(xxhash ${SRCS})
|
||
|
target_include_directories(xxhash PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||
|
target_include_directories(xxhash INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||
|
target_compile_definitions(xxhash INTERFACE "XXH_STATIC_LINKING_ONLY")
|
||
|
|