[mr2715] Squashed commit of the following:

commit 443c245831da071dc2cccf39b0782ae30baa20e1
Author: rsa <kris13@bk.ru>
Date:   Sun Mar 3 11:42:36 2013 +0400

    fix after 12390/12391

commit a1a51dfc2fe22fe1a7ae6a2ca0ea804015c773b8
Author: DasBlub <DasBlub@gmail.com>
Date:   Sun Mar 3 00:23:16 2013 +0100

    [12391] Remove the PREFIX parameter from the CMake files and use the standard CMAKE_INSTALL_PREFIX parameter instead

    This also fixes the behaviour with relative paths, until now, it
    calculated the absolute path from the location of the top level
    CMakeLists.txt instead of your current directory where you called cmake.

    You need to re-run CMake and define CMAKE_INSTALL_PREFIX and remove
    PREFIX! You can do so by either removing all files in your build directory
    and start from scratch or run 'cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=<install_path> <path_to_source>'.
    A check has been added to the CMake file to make sure that PREFIX is no
    longer used.

    + fix build chain for SD2 (/dev/rsa)

commit 82ef54ab6078d6db83074402718b5f7ac4afe941
Author: DasBlub <DasBlub@gmail.com>
Date:   Sat Mar 2 22:55:00 2013 +0100

    [12390] Do not use GLOB in CMake for source file lists

    From the CMake documentation of the FILE command:
    "We do not recommend using GLOB to collect a list of source files from your
    source tree. If no CMakeLists.txt file changes when a source is added or
    removed then the generated build system cannot know when to ask CMake to
    regenerate."
SD2 update