Skip to content

Commit ef2179b

Browse files
authored
[SYCL][CMake] Add missing include for FetchContent (#18976)
Technically we should include it before using it. Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 44bc0b4 commit ef2179b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/cmake/modules/FetchEmhash.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ find_file(EMHASH_SYS_LOC "hash_table8.hpp" PATH_SUFFIXES "emhash")
66
if(NOT EMHASH_SYS_LOC)
77
set(EMHASH_REPO https://github.com/ktprime/emhash)
88
message(STATUS "Will fetch emhash from ${EMHASH_REPO}")
9+
include(FetchContent)
910
FetchContent_Declare(emhash
1011
GIT_REPOSITORY ${EMHASH_REPO}
1112
GIT_TAG 3ba9abdfdc2e0430fcc2fd8993cad31945b6a02b

0 commit comments

Comments
 (0)