spconv icon indicating copy to clipboard operation
spconv copied to clipboard

> > @Kemo-Huang i can only find one line in the Caffe2Targets.cmake, and i comment it. But i still got the problem, how can i solve it ?

Open deavn2236 opened this issue 1 year ago • 1 comments

          > > @Kemo-Huang i can only find one line in the Caffe2Targets.cmake, and i comment it. But i still got the problem, how can i solve it ?

comment out those two lines:

  • INTERFACE_COMPILE_OPTIONS "-Wall;-Wextra;-Wno-unused-parameter;-Wno-missing-field-initializers;-Wno-write-strings;-Wno-unknown-pragmas;-Wno-missing-braces;-fopenmp"
  • INTERFACE_COMPILE_OPTIONS "\$<TARGET_PROPERTY:torch_cuda,INTERFACE_COMPILE_OPTIONS>

comment out those two lines solved my problem, thanks!

Originally posted by @shanjiayao in https://github.com/traveller59/spconv/issues/69#issuecomment-913292710

deavn2236 avatar Nov 21 '23 12:11 deavn2236

where is “INTERFACE_COMPILE_OPTIONS "$<TARGET_PROPERTY:torch_cuda,INTERFACE_COMPILE_OPTIONS>” I can't find it in Caffe2Targets.cmake

deavn2236 avatar Nov 21 '23 12:11 deavn2236