File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ ExternalProject_Add(
4646
4747file (MAKE_DIRECTORY ${ROOT_XXHASH_PREFIX} /include )
4848add_library (xxHash::xxHash IMPORTED STATIC GLOBAL )
49+ add_dependencies (xxHash::xxHash BUILTIN_XXHASH )
4950set_target_properties (xxHash::xxHash PROPERTIES
5051 IMPORTED_LOCATION ${ROOT_XXHASH_LIBRARY}
5152 INTERFACE_INCLUDE_DIRECTORIES ${ROOT_XXHASH_PREFIX} /include )
Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ endif()
313313#---Check for xxHash-----------------------------------------------------------------
314314ROOT_FIND_REQUIRED_DEP (xxHash builtin_xxhash )
315315if (builtin_xxhash)
316+ list (APPEND ROOT_BUILTINS xxHash)
316317 add_subdirectory (builtins/xxhash )
317318endif ()
318319
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ find_package(LZ4 REQUIRED)
99if (builtin_lz4)
1010 add_dependencies (Core BUILTIN_LZ4 )
1111endif ()
12- if (builtin_xxhash)
13- add_dependencies (Core BUILTIN_XXHASH )
14- endif ()
1512
1613target_sources (Core PRIVATE src/ZipLZ4.cxx )
1714target_link_libraries (Core PRIVATE xxHash::xxHash LZ4::LZ4 )
You can’t perform that action at this time.
0 commit comments