spconv
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 ?
> > @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
where is “INTERFACE_COMPILE_OPTIONS "$<TARGET_PROPERTY:torch_cuda,INTERFACE_COMPILE_OPTIONS>” I can't find it in Caffe2Targets.cmake