diff --git a/CMakeLists.txt b/CMakeLists.txt index bf76d97cddf..dee76a4cf8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.12) project(torchvision) set(CMAKE_CXX_STANDARD 14) -set(TORCHVISION_VERSION 0.7.0) +file(STRINGS version.txt TORCHVISION_VERSION) option(WITH_CUDA "Enable CUDA support" OFF)