Konrad Hofbauer <[EMAIL PROTECTED]> writes:
> What helped for me is to add the following line to the top of 
> branch/development/cmake/CMakeLists.txt:
> 
> cmake_policy(SET CMP0005 NEW)
> 

Along the way I also had to change in the same file
add_definitions(-DBOOST_USER_CONFIG="<config.h>")
to
add_definitions(-DBOOST_USER_CONFIG=config.h)


However, I am now stuck with a compilation error "invalid initializer" in
intl/dcigettext.c, which is
const char _nl_default_dirname[] = LOCALEDIR;

It seems like LOCALEDIR is not set correctly.
CMake finds setlocale and the C++ include "locale".  

Manually setting
set(LOCALEDIR       "/usr/share/locale")
in CMakeLists.txt does not help either.

Does somebody know where I have to specify this?

Thanks a lot,
Konrad

Reply via email to