2016-10-25 16:59 GMT+02:00 cen <imba...@gmail.com>: > > Why is patch level not baked into the DEB but it is in RPM? If install the > deb, soft links have the proper patch level version so I guess it is > ultimately ok but kinda annoying. >
Which version of CPack are you using? I can't reproduce this even with old CMake version 3.0.2 and minimal CMakeLists.txt: #------ cmake_minimum_required(VERSION 3.0) project(test) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt DESTINATION dest) set(CPACK_PACKAGE_VERSION_MAJOR 1) set(CPACK_PACKAGE_VERSION_MINOR 2) set(CPACK_PACKAGE_VERSION_PATCH 3) set(CPACK_PACKAGE_CONTACT "Test <t...@test.com>") include(CPack) #------ cmake -D CPACK_BINARY_DEB:bool=ON .. make package dpkg-deb -I test-1.2.3-Linux.deb result: Version: 1.2.3 Regards, Domen
-- 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