cmake: Update absl.cmake
Use Find<module>.cmake instead of <module>config.cmake to remove absl_DIR hack. PiperOrigin-RevId: 356438974 Change-Id: I5de67e21c2e55cad20ce3da002260acdd98c06b3
This commit is contained in:
parent
aae0fc015b
commit
792639b6e6
tensorflow/lite
@ -57,8 +57,6 @@ set(CMAKE_PREFIX_PATH
|
||||
"${TFLITE_SOURCE_DIR}/tools/cmake/modules"
|
||||
${CMAKE_PREFIX_PATH}
|
||||
)
|
||||
# b/168750039: To workaround absl module not found error on Android build.
|
||||
set(absl_DIR "${TFLITE_SOURCE_DIR}/tools/cmake/modules")
|
||||
|
||||
option(TFLITE_ENABLE_RUY "Enable experimental RUY integration" OFF)
|
||||
option(TFLITE_ENABLE_RESOURCE "Enable experimental support for resources" ON)
|
||||
@ -125,7 +123,7 @@ macro(populate_tf_source_vars RELATIVE_DIR SOURCES_VAR)
|
||||
)
|
||||
endmacro()
|
||||
# Find TensorFlow Lite dependencies.
|
||||
find_package(absl REQUIRED CONFIG)
|
||||
find_package(absl REQUIRED)
|
||||
find_package(eigen REQUIRED)
|
||||
find_package(farmhash REQUIRED)
|
||||
find_package(fft2d REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user