installation - How to enable cmake to exclude a ...
https://stackoverflow.com/questions/1789473627.07.2013 · I have been trying to build RPM packages for libc++ 3.3 on a RHEL 6.4 box. I need both static and shared libraries. So, I learned some basics of cmake and then modified the bundled CMakeList.txt.Got that part to work. But since in RHEL 6.x, all 64-bit libraries should go to /usr/lib64 instead of /usr/lib, I have been attempting to use the following to get the job done:
EXCLUDE_FROM_ALL — CMake 3.18.6 Documentation
cmake.org › cmake › helpEXCLUDE_FROM_ALLdirectory property is set. With EXCLUDE_FROM_ALLset to false or not set at all, the target will be brought up to date as part of doing a makeinstallor its equivalent for the CMake generator being used. If a target has EXCLUDE_FROM_ALLset to true, it may still be listed in an install(TARGETS)command, but the user is responsible for