cmake_minimum_required(VERSION 3.10) project(CPackUseProjectVersion VERSION 1.2.3 LANGUAGES NONE) include(CPack) message("CPACK_PACKAGE_VERSION=${CPACK_PACKAGE_VERSION}")