The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14719 ====================================================================== Reported By: Timo R. Assigned To: ====================================================================== Project: CMake Issue ID: 14719 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-01-25 15:21 EST Last Modified: 2014-01-25 15:21 EST ====================================================================== Summary: CMake does not escape strings when generating CPackConfig.cmake Description: On Windows, the NSIS install generator needs native path separators. It just removes "/" entirely. So i used file(TO_NATIVE_PATH) to convert my paths, but got a CMake parser on package generation error as a result.
The reason for this is, that cmake does not escape the strings it writes into the generated CPackConfig.cmake, so it contains things like SET(CPACK_PACKAGE_EXECUTABLES "bin\64bit\binary;Binary") where it should be SET(CPACK_PACKAGE_EXECUTABLES "bin\\64bit\\binary;Binary") This propably applies to all variables it writes there. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-01-25 15:21 Timo R. New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
