Skip to content

Commit

Permalink
Instead of "option" use "set" to define non-bool cmake build args. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gunan committed Dec 15, 2017
1 parent 00f8b97 commit 798fa36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/contrib/cmake/CMakeLists.txt
Expand Up @@ -36,8 +36,8 @@ option(tensorflow_ENABLE_SNAPPY_SUPPORT "Enable SNAPPY compression support" ON)

# GPU, CUDA and cuDNN options
option(tensorflow_ENABLE_GPU "Enable GPU support" OFF)
option(tensorflow_CUDA_VERSION "CUDA version to build against" 9.0)
option(tensorflow_CUDNN_VERSION "cuDNN version to build against" 7)
set(tensorflow_CUDA_VERSION "9.0" CACHE STRING "CUDA version to build against")
set(tensorflow_CUDNN_VERSION "7" CACHE STRING "cuDNN version to build against")

if(HAIKU)
option(tensorflow_ENABLE_POSITION_INDEPENDENT_CODE "Enable PIE support" OFF)
Expand Down

0 comments on commit 798fa36

Please sign in to comment.