summaryrefslogtreecommitdiff
path: root/cmake/Targets.cmake
diff options
context:
space:
mode:
authorsmall-yellow-duck <kiri.nichol@gmail.com>2015-03-29 21:30:21 (GMT)
committersmall-yellow-duck <>2015-03-29 21:36:16 (GMT)
commitfe50c502db196a825bf1ebcb93044f5875c2b7df (patch)
tree3a4f46eeab831d04741b5ad1466105b2949c4053 /cmake/Targets.cmake
parent12f559e9bddad1e5a6a7ecd0cdaf74fbbb726965 (diff)
downloadcaffeonacl-fe50c502db196a825bf1ebcb93044f5875c2b7df.zip
caffeonacl-fe50c502db196a825bf1ebcb93044f5875c2b7df.tar.gz
caffeonacl-fe50c502db196a825bf1ebcb93044f5875c2b7df.tar.bz2
Check if CPU_ONLY is set when determining CUDA version
Previously, CUDA_VERSION would appear to be < 7 if there was no CUDA installed, and that would generate the wrong C++ flags for compiling on recent OSX versions. Instead, skip the CUDA version check if CPU_ONLY is set. This change only affects CPU_ONLY installations.
Diffstat (limited to 'cmake/Targets.cmake')
0 files changed, 0 insertions, 0 deletions