mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Merge pull request #6602 from lioncash/xxhash
CMakeLists: Don't dump xxhash's includes into top-level directory scope
This commit is contained in:
commit
bb38b612ba
@ -566,7 +566,6 @@ endif()
|
|||||||
if(NOT XXHASH_FOUND)
|
if(NOT XXHASH_FOUND)
|
||||||
message(STATUS "Using static xxhash from Externals")
|
message(STATUS "Using static xxhash from Externals")
|
||||||
add_subdirectory(Externals/xxhash)
|
add_subdirectory(Externals/xxhash)
|
||||||
include_directories(Externals/xxhash)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(ZLIB)
|
find_package(ZLIB)
|
||||||
|
8
Externals/xxhash/CMakeLists.txt
vendored
8
Externals/xxhash/CMakeLists.txt
vendored
@ -1,7 +1,7 @@
|
|||||||
project(xxhash C)
|
project(xxhash C)
|
||||||
|
|
||||||
set(SRCS
|
add_library(xxhash STATIC xxhash.c)
|
||||||
xxhash.c
|
target_include_directories(xxhash
|
||||||
|
PUBLIC
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(xxhash STATIC ${SRCS})
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user