Greetings,
When installing the mysql connector, I provide the following flag to CMAKE:
-DCMAKE_INSTALL_PREFIX=/home/estevens
After performing the:
cmake --build . --target install step, the mysql connector header files are installed under the /home/estevens/include as expected. However the shared library file (libmysqlcppconn8.so.1.8.0.11) and it's revelant softlinks (libmysqlcppconn8.so and libmysqlcppconn8.so.1) get installed directly under the build directory I use for compiling the software. These files never get deployed to /home/estevens/lib64, or /home/estevens/lib as conventionally expected.
Is there an additional cmake flag I can provide to force this behavior, or must I copy over the shraed library files manually after they are compiled. Normally, -DCMAKE_INSTALL_PREFIX is sufficient. But it appears not to be in this case.
Thank you.
When installing the mysql connector, I provide the following flag to CMAKE:
-DCMAKE_INSTALL_PREFIX=/home/estevens
After performing the:
cmake --build . --target install step, the mysql connector header files are installed under the /home/estevens/include as expected. However the shared library file (libmysqlcppconn8.so.1.8.0.11) and it's revelant softlinks (libmysqlcppconn8.so and libmysqlcppconn8.so.1) get installed directly under the build directory I use for compiling the software. These files never get deployed to /home/estevens/lib64, or /home/estevens/lib as conventionally expected.
Is there an additional cmake flag I can provide to force this behavior, or must I copy over the shraed library files manually after they are compiled. Normally, -DCMAKE_INSTALL_PREFIX is sufficient. But it appears not to be in this case.
Thank you.