Skip to content

Commit

Permalink
more flexible tensorflow version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
PatWie committed Jan 24, 2019
1 parent 6759705 commit a97b1cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inference/c/CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required( VERSION 2.8 )
project( TFCustomOp )

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../cmake/modules)
find_package(TensorFlow 1.10 EXACT REQUIRED)
find_package(TensorFlow REQUIRED)

TensorFlow_REQUIRE_C_LIBRARY()
TensorFlow_REQUIRE_SOURCE()
Expand Down
2 changes: 1 addition & 1 deletion inference/cc/CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required( VERSION 2.8 )
project( TFCustomOp )

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../cmake/modules)
find_package(TensorFlow 1.10 EXACT REQUIRED)
find_package(TensorFlow REQUIRED)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down

0 comments on commit a97b1cc

Please sign in to comment.