Some sources of information say:
You can change the installation directory (prefix) by setting the CMAKE_INSTALL_PREFIX environment variable
If I do in a file:
export CMAKE_INSTALL_PREFIX=$KDEDIR
and then enter it and check if the environment variable CMAKE_INSTALL_PREFIX is set when I do:
vic@wic :~/kde/build/kde-workspace$ cmake ../../src/kde-workspace/
and then:
vic@wic :~/kde/build/kde-workspace$ make install
he is trying to install files in system directories.
If I specify CMAKE_INSTALL_PREFIX as an argument for cmake:
vic@wic :~/kde/build/kde-workspace$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR ../../src/kde-workspace/
then make install works fine - installs files on $KDEDIR
Incorrect documentation about the possibility of setting environment variables with the same name or am I doing something wrong?
warvariuc
source share