biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20889a5
)
Fix: Print propagte warning only if GMX_GPU=on
author
Roland Schulz
<roland@utk.edu>
Thu, 22 Nov 2012 05:35:08 +0000
(
00:35
-0500)
committer
Gerrit Code Review
<gerrit@gerrit.gromacs.org>
Fri, 23 Nov 2012 00:14:55 +0000
(
01:14
+0100)
Change-Id: Ia0d2a914d06ea6a538556a9f712f00e63882e946
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 6921a92e44c013be8aa6394ab15d70abfd7b1d91..08bd1c8f229b2292a3dae84faade95e4a20be3fa 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-683,7
+683,7
@@
gmx_test__finite(HAVE__FINITE)
include(gmxTestCXX11)
gmx_test_cxx11(GMX_CXX11 CXX11_FLAG)
set(GROMACS_CXX_FLAGS "${CXX11_FLAG} ${GROMACS_CXX_FLAGS}")
-if(CXX11_FLAG)
+if(CXX11_FLAG
AND GMX_GPU
)
#FIXME: add proper solution for progate all but cxx11 flag
set(CUDA_PROPAGATE_HOST_FLAGS no)
message(WARNING "Please manually add compiler flags to CUDA_NVCC_FLAGS. Automatic propogation temporary not working.")