Skip to content

Commit

Permalink
temp: try to ignore macos framework?
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierLDff committed Aug 17, 2023
1 parent c2be95b commit 41ab5a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 3rdparty/cmake/FindTensorflow.cmake
Expand Up @@ -41,12 +41,12 @@ if(NOT Tensorflow_FOUND)
string(REGEX REPLACE "::" ";" Tensorflow_DEFINITIONS ${Tensorflow_DEFINITIONS})

# Get Tensorflow_FRAMEWORK_LIB
find_library(
Tensorflow_FRAMEWORK_LIB
NAMES tensorflow_framework libtensorflow_framework.so.2
PATHS "${Tensorflow_LIB_DIR}"
NO_DEFAULT_PATH
)
# find_library(
# Tensorflow_FRAMEWORK_LIB
# NAMES tensorflow_framework libtensorflow_framework.so.2
# PATHS "${Tensorflow_LIB_DIR}"
# NO_DEFAULT_PATH
# )
endif()

message(STATUS "TensorFlow version: ${Tensorflow_VERSION}")
Expand Down Expand Up @@ -76,4 +76,4 @@ endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
Tensorflow DEFAULT_MSG Tensorflow_INCLUDE_DIR Tensorflow_LIB_DIR
Tensorflow_FRAMEWORK_LIB Tensorflow_DEFINITIONS)
Tensorflow_DEFINITIONS)

0 comments on commit 41ab5a0

Please sign in to comment.