Public bug reported: I'm working with Ubuntu 16.04, fully patched. It has Cmake 3.5.1.
Using the "feature_summary" command produces the following: CMake Error at CMakeLists.txt:41 (feature_summary): Unknown CMake command "feature_summary". Here's the offending line from CmakeList.txt: # Print a summary if (NOT CMAKE_VERSION VERSION_LESS 3.0.0) feature_summary(WHAT ALL VAR cryptoppFeatures) message(STATUS "${cryptoppFeatures}") endif() According the the Cmake documentation, "feature_summary" command has been around since at least 3.0. Confer, http://cmake.org/cmake/help/v3.0/module/FeatureSummary.html. ========== $ cat ~/uname.txt Linux ubuntu16-x64 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ========== $ cat ~/cmake-package.txt Package: cmake Priority: optional Section: devel Installed-Size: 14215 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Debian CMake Team <pkg-cmake-t...@lists.alioth.debian.org> Architecture: amd64 Version: 3.5.1-1ubuntu2 Depends: cmake-data (= 3.5.1-1ubuntu2), procps, libarchive13, libc6 (>= 2.15), libcurl3 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libjsoncpp1, libstdc++6 (>= 5.2), zlib1g (>= 1:1.2.3.3) Pre-Depends: dpkg (>= 1.17.5~) Recommends: gcc, make Suggests: codeblocks, eclipse, ninja-build Filename: pool/main/c/cmake/cmake_3.5.1-1ubuntu2_amd64.deb Size: 2620052 MD5sum: bcb7815fe1140a79b0180e9bce829470 SHA1: 35f4caf5c7928f0c49acc996587eef395e950949 SHA256: 012987fc5e115bc429d5aed303dbe5d7cd96f795ea36771de2565b773c10cf72 Description-en: cross-platform, open-source make system CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation. . CMake was developed by Kitware as part of the NLM Insight Segmentation and Registration Toolkit project. The ASCI VIEWS project also provided support in the context of their parallel computation environment. Other sponsors include the Insight, VTK, and VXL open source software communities. Description-md5: 47b53839da906127970f1e8c870afc2d Multi-Arch: foreign Homepage: https://cmake.org/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 5y Task: ubuntu-sdk-libs-tools Package: cmake Priority: optional Section: devel Installed-Size: 14219 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Debian CMake Team <pkg-cmake-t...@lists.alioth.debian.org> Architecture: amd64 Version: 3.5.1-1ubuntu1 Depends: cmake-data (= 3.5.1-1ubuntu1), procps, libarchive13, libc6 (>= 2.15), libcurl3 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libjsoncpp1, libstdc++6 (>= 5.2), zlib1g (>= 1:1.2.3.3) Pre-Depends: dpkg (>= 1.17.5~) Recommends: gcc, make Suggests: codeblocks, eclipse, ninja-build Filename: pool/main/c/cmake/cmake_3.5.1-1ubuntu1_amd64.deb Size: 2623116 MD5sum: d8f8eea35b52577c5a385bc113f4f7c6 SHA1: 85ee7e7a2566be8345e73c08586ff87cf366f772 SHA256: 6328a96d9ec1327ba91eb3440ec5710730d9061d1cd678e9759f6141976f7d3c Description-en: cross-platform, open-source make system CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation. . CMake was developed by Kitware as part of the NLM Insight Segmentation and Registration Toolkit project. The ASCI VIEWS project also provided support in the context of their parallel computation environment. Other sponsors include the Insight, VTK, and VXL open source software communities. Description-md5: 47b53839da906127970f1e8c870afc2d Multi-Arch: foreign Homepage: https://cmake.org/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 5y Task: ubuntu-sdk-libs-tools ** Affects: cmake (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1623500 Title: Cmake 3.5 and "unknown cmake command 'feature_summary'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1623500/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs