summaryrefslogtreecommitdiffstats
path: root/Source/cmCLocaleEnvironmentScope.cxx
diff options
context:
space:
mode:
authorJames Bigler <jamesbigler@gmail.com>2015-03-22 05:01:24 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-08 20:25:47 (GMT)
commit99abebdea01b9ef73e091db5594553f7b1694a1b (patch)
treef620d3a3926185cc95277e9f5fec010d8e8364ed /Source/cmCLocaleEnvironmentScope.cxx
parent486e9f4f49646cf48915781a411edfe9d9ea7618 (diff)
downloadCMake-99abebdea01b9ef73e091db5594553f7b1694a1b.zip
CMake-99abebdea01b9ef73e091db5594553f7b1694a1b.tar.gz
CMake-99abebdea01b9ef73e091db5594553f7b1694a1b.tar.bz2
FindCUDA: Handle c++11 host flag
If the host flags contain a c++11 flag (at least for gcc), then we can't automatically propagate to nvcc it using -Xcompiler. This is because nvcc can't use any C++ only flags. Instead we find this flag and add it to nvcc's flags (it has a special flag for dealing with c++11 code) and remove it from the host flags. Co-Author: Guillermo Marcus <gmarcus@nvidia.com>
Diffstat (limited to 'Source/cmCLocaleEnvironmentScope.cxx')
0 files changed, 0 insertions, 0 deletions