1 2 3
# two levels of escaping to pass through CPackConfig.cmake set(CPACK_PACKAGE_INSTALL_DIRECTORY "Foo\\\\Bar") set(CPACK_NSIS_DISPLAY_NAME "Bar\\\\Foo")