Unverified Commit 5a315453 authored by bmanga's avatar bmanga Committed by GitHub
Browse files

Use version.txt to determine torchvision version in CMakeLists.txt (#3381)


Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
parent dcfd26e8
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment