The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15999 ====================================================================== Reported By: Antonio Assigned To: ====================================================================== Project: CMake Issue ID: 15999 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2016-03-02 04:10 EST Last Modified: 2016-03-02 04:10 EST ====================================================================== Summary: CMake will crash if project command is used in the toolchain file Description: If the "project" command is used in a toolchain file, cmake crashes (also cmake-gui crashes consequently).
Found out while trying to use: find_package(LLVM REQUIRED CONFIG) in a toolchain file, and incurred in this problem: http://stackoverflow.com/questions/12264299/cmake-on-linux-target-platform-does-not-support-dynamic-linking Steps to Reproduce: Extremely easy, simply configure a project with a toolchain containing: project(xxx) In the attachment a dummy project which allows to reproduce the problem. Also the build directory (output before the crash) is included. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-03-02 04:10 Antonio New Issue 2016-03-02 04:10 Antonio File Added: test.zip ====================================================================== -- 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-developers
