After a little more looking around in the bug tracker I see there is already an open issue for this. http://www.cmake.org/Bug/view.php?id=14782
Removing the PROTECTED_AT change to CPackRPM.cmake provides a work around for now. Thanks Matt From: CMake [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, 1 September 2014 3:18 PM To: [email protected] Subject: [ExternalEmail] [CMake] CPack RPM generator with @ characters in filename Hi, We're trying to package Qt as part of our app and the RPM generator doesn't like the '@' in some of the QML image file names (not that I blame it :)). I found some mention of this earlier this year http://www.cmake.org/pipermail/cmake/2014-March/057124.html. The simple example below (pointing to the Qt QML dir) shows the issue. I tried listing all the files individually with escape characters but it still ends up with @PROTECTED_AT@ in install_manifest.txt Is there any way around this and/or should a bug be raised for this? Thanks Matt CMakeLists.txt: cmake_minimum_required(VERSION 3.0.0) project(myqmlapp NONE) set(CPACK_PACKAGE_VERSION_MAJOR 0) set(CPACK_PACKAGE_VERSION_MINOR 1) set(CPACK_PACKAGE_VERSION_PATCH 0) find_path(CMAKE_EXECUTABLES_DIR cmake${CMAKE_EXECUTABLE_SUFFIX}) set(CMAKE_INSTALL_PREFIX "/opt/myqmlapp") set(CPACK_GENERATOR RPM) set(CPACK_RPM_PACKAGE_NAME "myqmlapp") set(CPACK_PACKAGE_FILE_NAME "myqmlapp") install(DIRECTORY "/home/builder/Qt/5.3/gcc_64/qml/" DESTINATION "qml") include(CPack) Result: File not found: /home/builder/BuildArea/cpack/_CPack_Packages/Linux/RPM/myqmlapp/usr/qml/QtQuick/Controls/Styles/Base/images/arrow-down@[email protected] File not found: /home/builder/BuildArea/cpack/_CPack_Packages/Linux/RPM/myqmlapp/usr/qml/QtQuick/Controls/Styles/Base/images/arrow-right@[email protected] File not found: /home/builder/BuildArea/cpack/_CPack_Packages/Linux/RPM/myqmlapp/usr/qml/QtQuick/Controls/Styles/Base/images/arrow-left@[email protected] File not found: /home/builder/BuildArea/cpack/_CPack_Packages/Linux/RPM/myqmlapp/usr/qml/QtQuick/Controls/Styles/Base/images/arrow-up@[email protected] File not found: /home/builder/BuildArea/cpack/_CPack_Packages/Linux/RPM/myqmlapp/usr/qml/QtQuick/Controls/Styles/Base/images/check@[email protected]
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
