Skip to content

Commit

Permalink
reverted fast_tokenizers fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Feb 14, 2024
1 parent 29fcdd8 commit cb2945f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ else()
"Please, use -DBUILD_FAST_TOKENIZERS=ON cmake option to enable build from soures")
endif()

FetchContent_GetProperties(fast_tokenizer)
if(NOT fast_tokenizer_POPULATED)
FetchContent_Populate(fast_tokenizer)
add_subdirectory(${fast_tokenizer_SOURCE_DIR} ${fast_tokenizer_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
FetchContent_MakeAvailable(fast_tokenizer)

# to allow find_library to work with conda-forge env
set(_old_CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ${CMAKE_FIND_ROOT_PATH_MODE_LIBRARY})
Expand Down

0 comments on commit cb2945f

Please sign in to comment.