Re: [CMake] FindCuda compiler flag problems

2015-05-11 Thread James Bigler
The issue is that nvcc doesn't accept host compiler flags that are C++ only. It does understand a version of the command directly (-std c++11). There should be a fix for this in TOT. See if you can grab a nightly and test it out. James On Mon, May 11, 2015 at 10:54 AM, Wesley Smith wrote: >

[CMake] FindCuda compiler flag problems

2015-05-11 Thread Wesley Smith
Hi, I'm trying to compile w/ CUDA on Centos6 using Cuda7 and C++11. When I have host propagate flags on, the CXX flags get mangles with escapes like this: ,\"-fPIE\",\"--std=c++11\",\"-DGLM_FORCE_RADIANS\",\"-g\" which causes a ton of errors. If I turn host propagate flags off, I then have to