You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Nikita Akatiev (Jira)" <ji...@apache.org> on 2023/05/24 11:33:00 UTC

[jira] [Created] (PROTON-2738) CMake configure fails when trying to override install layout

Nikita Akatiev created PROTON-2738:
--------------------------------------

             Summary: CMake configure fails when trying to override install layout
                 Key: PROTON-2738
                 URL: https://issues.apache.org/jira/browse/PROTON-2738
             Project: Qpid Proton
          Issue Type: Bug
            Reporter: Nikita Akatiev


Hi team,

Here is how I currently build qpid-proton (on RHEL 8.3):
{noformat}
~/qpid-proton/$ rm -rf ./build/ && mkdir ./build/ && cd ./build/
~/qpid-proton/build/$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/proton
~/qpid-proton/build/$ make -j && make install{noformat}
Now, I really wanted to change {{include}} directory to something else in my install layout (my install layout is rather obscure). So, I tried to set {{CMAKE_INSTALL_INCLUDEDIR}} (as per [https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html)|https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html),] – qpid build ignored it, and even gave me a warning at configuration time:
{noformat}
~/qpid-proton/$ rm -rf ./build/ && mkdir ./build/ && cd ./build/
~/qpid-proton/build/$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/proton
~/qpid-proton/build/$ make -j && make install{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org