Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does CMakes “make install” support DESTDIR?

CMake support
0
Posted

Does CMakes “make install” support DESTDIR?

0

Yes, when a makefile generator is used. After the build completes, one may run “make install” to install any files the project configured to be installed.

0

Yes, especially when the build-system generator uses CMake’s builtin support for installing files: Simply define the DESTDIR environment variable during installation and CMake will treat that value as the root of the file system for all installation paths; naturally, the DESTDIR path must be absolute.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123