>
> Try to:
> 1) clean your build directory
> 2) add the line: MESSAGE( ${CMAKE_SYSTEM_NAME} ) in front of the IF
> 3) Rerun cmake
> 4) check if Linux is the output, my quess is it will say something
> different.
>
> rgds
> jan i.
>
> It is Linux. The problem was pointing to ../DocFormats/CMakeLists.txt instead of pointing to ../CMakeLists.txt cd buildexport DOCFORMATS_DIR=../DocFormats/cmake -G "Unix Makefiles" $DOCFORMATS_DIR now is working with: cd buildcmake -G "Unix Makefiles" .. -JD
