We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 034a562 commit 1469094Copy full SHA for 1469094
CMakeLists.txt
@@ -4,8 +4,8 @@ project(pytorch_ros)
4
add_compile_options(-std=c++14)
5
6
# Locate the cmake file of torchlib
7
-set(Torch_DIR "/opt/conda/envs/ros_env/lib/python3.8/site-packages/torch/share/cmake/Torch/")
8
-#set(Torch_DIR "$ENV{TORCH_ROOT}/torch/share/cmake/Torch/")
+# set(Torch_DIR "/usr/local/lib/python3.8/dist-packages/torch/share/cmake/Torch/")
+set(Torch_DIR "$ENV{TORCH_PATH}/torch/share/cmake/Torch/")
9
10
## Find catkin macros and libraries
11
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
0 commit comments