diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-09 15:16:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-09 15:16:37 +0400 |
commit | 5457c871ef71f69e9a17b9dcb462becf86c41577 (patch) | |
tree | 618eb6c9b1b6bfb266c6c8a30e1be7f0db2f5c5a /intern | |
parent | d13df6cffc19068edf6ce8667193de578872efdf (diff) |
change in how cmake works with CMAKE_C_STANDARD_LIBRARIES / CMAKE_CXX_STANDARD_LIBRARIES.
if not defined (first run) these are now set blank but can be defined later.
the problem is that scons & cmake builds would link against different libraries since cmake added its own defaults.
now, by default, scons & cmake have the same libraries.
This fixes an obscure crash in MinGW where cmakes default linking with -ladvapi32 would crash on string formatting which used float precision as an argument, eg:
printf("%.*f", 3, value);
...without giving a useful backtrace or pointing to the line of code doing the string formatting.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions