Lillian Yiyuan wrote:
> I see an LL_DARWIN, is there one for specific releases?

> #ifdef LL_DARWIN_10_3
> #define LOCALE_BROKEN
> #endif


Nope. You should add specific feature tests, similar to autotools. In this 
case, you'd write a test for specific locale functionality, and set a flag 
based on it.

check out
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:try_compile

and
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:try_run

(and look in the cmake codebase for examples; we don't actually do this yet 
because we tend to avoid supporting non-mainline functionality)

+ poppy
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to