I have a slight issue with the new CPack stuff.<br><br>CPack.cmake:<br><br>cpack_set_if_not_set(CPACK_NSIS_DISPLAY_NAME &quot;${CPACK_PACKAGE_INSTALL_DIRECTORY}&quot;)<br>cpack_set_if_not_set(CPACK_NSIS_PACKAGE_NAME &quot;${CPACK_PACKAGE_INSTALL_DIRECTORY}&quot;)<br>

...<br>cpack_set_if_not_set(CPACK_PACKAGE_INSTALL_DIRECTORY<br>
  &quot;${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}&quot;)<br>
<br>
I set CPACK_PACKAGE_INSTALL_DIRECTORY to:<br><br>    set(CPACK_PACKAGE_INSTALL_DIRECTORY &quot;NVIDIA Corporation\\\\OptiX SDK ${CPACK_PACKAGE_VERSION}&quot;)<br>    set(CPACK_NSIS_DISPLAY_NAME &quot;NVIDIA OptiX ${CPACK_PACKAGE_VERSION}&quot;)<br>

<br>In my generated CPackConfig.cmake file I now have:<br><br>SET(CPACK_NSIS_DISPLAY_NAME &quot;NVIDIA OptiX 1.0.0&quot;)<br>...<br>SET(CPACK_NSIS_PACKAGE_NAME &quot;NVIDIA Corporation\OptiX SDK 1.0.0&quot;)<br>...<br>SET(CPACK_PACKAGE_INSTALL_DIRECTORY &quot;NVIDIA Corporation\\OptiX SDK 1.0.0&quot;)<br>

<br>CMake then chokes on the PACKAGE_NAME due to the \O which should be \\O.  I set the DISPLAY_NAME and INSTALL_DIRECTORY, but the PACKAGE_NAME is set by the cpack_set_if_not_set and sends my string through an extra processing step.<br>

<br>I can certainly add my own entry for CPACK_NSIS_PACKAGE_NAME to avoid this now that I know about it, but PACKAGE_NAME is a new variable and my old script broke.<br><br>James<br><br><br>