On Tue, Jun 9, 2009 at 4:05 AM, Stefan Dröge <ste...@sdroege.de> wrote:
> 2009/6/9 Philip Lowman <phi...@yhbt.com>: > > Yes, that is the only reason. > > > > Can you try the CMakeFindEclipseCDT4.cmake attached to this bug report? > I've > > wrapped the call to EXECUTE_PROCESS by saving the LANG environment > variable > > and then setting it to "C", and restoring it after running gcc. I'm not > > entirely sure if this is the right thing to do as I'm not really > experienced > > with locales at all. > > > > http://public.kitware.com/Bug/view.php?id=9122 > > > > You can test the script by putting the following in your code: > > message("C system include dirs = ${CMAKE_ECLIPSE_C_SYSTEM_INCLUDE_DIRS}") > > message("C++ system include dirs = > > ${CMAKE_ECLIPSE_CXX_SYSTEM_INCLUDE_DIRS}") > > > > -- > > Philip Lowman > > For me, it solves the problem. Thank you! Cool, sorry to bother you again but can you try the new version of the patch and confirm it still works ok? I changed some things in light of Hendrik's post about LC_ALL and LC_MESSAGES. http://public.kitware.com/Bug/view.php?id=9122 -- Philip Lowman
_______________________________________________ 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