mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
12 lines
327 B
CMake
12 lines
327 B
CMake
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")
|
|
|