We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e055f commit f4ae045Copy full SHA for f4ae045
tensorflow_cc/CMakeLists.txt
@@ -1,9 +1,10 @@
1
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
2
+cmake_policy(SET CMP0048 NEW) # Enable version parameter in project().
3
file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/PROJECT_VERSION" version)
4
project(
5
"tensorflow_cc"
6
+ VERSION ${version}
7
)
-set(PROJECT_VERSION "${version}")
8
9
# If enabled, bazel has to be installed.
10
option(ALLOW_CUDA "Try to find and use CUDA." ON)
0 commit comments