make install instatll header in a non standard location plus install non necessary stuff (*.c)
that leads to non buildable example with installed headers
see
rpmmaker:~ > wget https://github.com/yangao07/abPOA/releases/download/v1.2.5/abPOA-v1.2.5.tar.gz)
rpmmaker:~ > tar xf abPOA-v1.2.5.tar.gz
rpmmaker:~ > mkdir build && cd build
rpmmaker:~/build > cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/abPOA ../abPOA-v1.2.5 && make -j && make install
when we check the installed include directory it will find:
Hello
using release taged archive for version 1.2.5 (https://github.com/yangao07/abPOA/releases/download/v1.2.5/abPOA-v1.2.5.tar.gz)
make install
instatll header in a non standard location plus install non necessary stuff (*.c) that leads to non buildable example with installed headers seewhen we check the installed include directory it will find:
we expect header to be placed directly in include or maybee include/abPOA
this is due to the way that CMakfileLists.txt is defined for include files
should be
regards
Eric