mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
a4ba92c697
We already use a custom CMakeLists file for xxhash, so we can just make it's headers public as part of its target interface. This way, only libraries that link in the xxhash target will see its headers, as opposed to every target under the top-level directory.
8 lines
128 B
CMake
8 lines
128 B
CMake
project(xxhash C)
|
|
|
|
add_library(xxhash STATIC xxhash.c)
|
|
target_include_directories(xxhash
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|