I was overzealous with some pasting and ended up accidentally adding a
PATTERN line to an install (FILES ...) command. CMake 2.6.2 on Linux
didn't complain, but CMake on Windows did:

CMake Error at CMakeTargets.txt:122 (install):
install FILES given unknown argument "PATTERN".
Call Stack (most recent call first):

Why is this only an error on one platform? Does Linux allow PATTERNs in
install (FILES ...) but Windows does not allow this? Is it a bug? If so,
I can add it to the tracker.



A semi-related question that is hopefully not interesting enough for its
own thread: is there a way to set a global default exclude pattern? It
seems silly to have to have a line that does PATTERN ".svn" EXCLUDE in
all of my install (DIRECTORIES ...) rules.

Thanks,
tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to