cmake CPACK_PACKAGING_INSTALL_PREFIX examples

ornladios/ADIOS2 thirdparty/EVPath/EVPath/cmake/CERCS_package.cmake :25

set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})

ros-industrial/ros_qtc_plugin packaging/cpack-config.cmake :10

set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/qt-creator/")

valkey-io/valkey cmake/Modules/Packaging.cmake :32

write_file(
    ${CMAKE_BINARY_DIR}/CreateSymlink.sh
    "\
#!/bin/bash                                                 \n\
if [ -z \${DESTDIR} ]; then                                 \n\
    # Script is called during 'make install'                \n\
    PREFIX=${CMAKE_INSTALL_PREFIX}/bin                      \n\
else                                                        \n\
    # Script is called during 'make package'                \n\
    PREFIX=\${DESTDIR}${CPACK_PACKAGING_INSTALL_PREFIX}/bin \n\
fi                                                          \n\
cd \$PREFIX                                                 \n\
ln -sf \$1 \$2")