On 6 January 2011 17:12, David Cole <david.c...@kitware.com> wrote: > Did you ever investigate using CPACK_PROJECT_CONFIG_FILE to avoid > doing the silly regex MATCHES test, and just define your own variable > that (for now) tells you for sure that you're in a CPack run...? > > I think we discussed that one about a month ago, IIRC.
I did but couldn't remember the exact variable name. Personally, although useful, that didn't seem to be much of an advantage, still requiring most of the nasty INSTALL(CODE) just without the prefix matching. Thanks though! -- Mike McQuaid http://mikemcquaid.com _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers