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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to