[cmake-developers] [PATCH] FindCUDA: Wrap keyword in if() string comparison
Adam Strzelecki
ono at java.pl
Sat Sep 20 09:20:42 EDT 2014
I've pushed stage/CMP0054-FindCUDA:
commit 8998557e7c9a7542e78e07b8b06fd728604f0bdf
Author: Adam Strzelecki <ono at java.pl>
Date: Tue Sep 16 23:31:44 2014 +0200
FindCUDA: Audit for modern CMP0054 if() syntax
Enables CMP0054 for whole module to silence quoted variable expansion warning.
Just added where the actual code starts:
cmake_policy(SET CMP0054 NEW) # modern if() syntax
And made one simple fix with unneeded variable and unneeded quoting.
I think we may do the same for the other modules. WDYT?
--Adam
More information about the cmake-developers
mailing list