Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
10d5a55c
Unverified
Commit
10d5a55c
authored
Aug 28, 2020
by
vfdev
Committed by
GitHub
Aug 28, 2020
Browse files
Bumped version to v0.7.0 and removed commented line (#2626)
parent
2eba1f04
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CMakeLists.txt
CMakeLists.txt
+1
-2
No files found.
CMakeLists.txt
View file @
10d5a55c
cmake_minimum_required
(
VERSION 3.0
)
project
(
torchvision
)
set
(
CMAKE_CXX_STANDARD 14
)
set
(
TORCHVISION_VERSION 0.
6
.0
)
set
(
TORCHVISION_VERSION 0.
7
.0
)
option
(
WITH_CUDA
"Enable CUDA support"
OFF
)
...
...
@@ -31,7 +31,6 @@ file(GLOB MODELS_SOURCES torchvision/csrc/models/*.h torchvision/csrc/models/*.c
add_library
(
${
PROJECT_NAME
}
SHARED
${
MODELS_SOURCES
}
${
OPERATOR_SOURCES
}
${
IMAGE_SOURCES
}
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE
${
TORCH_LIBRARIES
}
${
PNG_LIBRARY
}
${
JPEG_LIBRARIES
}
Python3::Python
)
# target_link_libraries(${PROJECT_NAME} PRIVATE ${PNG_LIBRARY} Python3::Python)
set_target_properties
(
${
PROJECT_NAME
}
PROPERTIES EXPORT_NAME TorchVision
)
include_directories
(
torchvision/csrc
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment