[cmake-developers] [PATCH] Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty
Aurélien Gâteau
agateau at kde.org
Thu Mar 13 05:39:06 EDT 2014
When find_dependency is called like this:
find_dependency(Foo "")
CMake fails with:
CMake Error at
/home/aurelien/opt/kf5/share/cmake-3.0/Modules/CMakeFindDependencyMacro.cmake:34
(if):
if given arguments:
"STREQUAL" "EXACT"
Unknown arguments specified
Attached patch fixes this.
Aurélien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Wrap-ARGV1-and-ARGV2-in-quotes-to-avoid-errors-when-.patch
Type: text/x-patch
Size: 1240 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140313/ee616b91/attachment.bin>
More information about the cmake-developers
mailing list