Skip to content

Commit 48b8d6b

Browse files
committed
Parse version string properly
1 parent de7c30f commit 48b8d6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_cc/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
2-
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/PROJECT_VERSION" version)
2+
file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/PROJECT_VERSION" version)
33
project(
44
"tensorflow_cc"
5-
VERSION ${version}
5+
VERSION "${version}"
66
)
77

88
# If enabled, bazel has to be installed.

0 commit comments

Comments
 (0)