Skip to content

Commit

Permalink
Use version.txt to determine torchvision version in CMakeLists.txt (#…
Browse files Browse the repository at this point in the history
…3381)

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
  • Loading branch information
bmanga and datumbox authored Feb 11, 2021
1 parent dcfd26e commit 5a31545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 5a31545

Please sign in to comment.