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:
a013380
)
Fix CMP0054 cmake 3.1.0 warnings
author
Roland Schulz
<roland@utk.edu>
Tue, 28 Oct 2014 21:49:08 +0000
(17:49 -0400)
committer
Roland Schulz
<roland@utk.edu>
Thu, 18 Dec 2014 04:05:07 +0000
(23:05 -0500)
Change-Id: I5d91289a543240fa6f493b7f7738522f3c268c07
cmake/gmxOptionUtilities.cmake
patch
|
blob
|
history
diff --git
a/cmake/gmxOptionUtilities.cmake
b/cmake/gmxOptionUtilities.cmake
index 7da67d4403e7a0284ecf4b837baa8ec8d27f8777..a6f045b857183b929c082b67cea10a4eeeb23b4e 100644
(file)
--- a/
cmake/gmxOptionUtilities.cmake
+++ b/
cmake/gmxOptionUtilities.cmake
@@
-166,7
+166,7
@@
endmacro()
function(GMX_CHECK_IF_CHANGED RESULT)
set(_result FALSE)
foreach (_var ${ARGN})
- if (NOT "${
_var}" STREQUAL "${_var}_PREVIOUS_VALUE
")
+ if (NOT "${
${_var}}" STREQUAL "${${_var}_PREVIOUS_VALUE}
")
set(_result TRUE)
endif()
set(${_var}_PREVIOUS_VALUE "${${_var}}" CACHE INTERNAL