File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,19 +92,18 @@ if(SUPPORT_REGEX_LOOKAHEAD)
9292 pcre2-8-static
9393 PROPERTIES
9494 INTERFACE_INCLUDE_DIRECTORIES
95- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR } /third-party/pcre2/src >
95+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR } /third-party/pcre2>
9696 )
9797 add_library (
9898 regex_lookahead STATIC
9999 ${CMAKE_CURRENT_SOURCE_DIR} /src/pcre2_regex.cpp
100100 ${CMAKE_CURRENT_SOURCE_DIR} /src/regex_lookahead.cpp
101101 ${CMAKE_CURRENT_SOURCE_DIR} /src/std_regex.cpp
102102 )
103- target_link_libraries (regex_lookahead PUBLIC pcre2-8)
103+ target_link_libraries (regex_lookahead PUBLIC pcre2-8- static )
104104 target_include_directories (
105105 regex_lookahead
106106 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
107- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /third-party/pcre2/src>
108107 )
109108 target_link_options_shared_lib(regex_lookahead)
110109 target_link_libraries (tokenizers PUBLIC regex_lookahead)
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def define_common_targets():
101101 "@EXECUTORCH_CLIENTS" ,
102102 "//pytorch/tokenizers/..." ,
103103 ],
104- external_deps = [
104+ exported_external_deps = [
105105 "sentencepiece" ,
106106 "abseil-cpp" ,
107107 ],
You can’t perform that action at this time.
0 commit comments