The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14357 ====================================================================== Reported By: Jason Howlett Assigned To: ====================================================================== Project: CMake Issue ID: 14357 Category: CMake Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 2013-08-14 15:28 EDT Last Modified: 2013-08-14 15:28 EDT ====================================================================== Summary: Defining an override macro/function of add_library more than once causes a segmentation fault. Description: If a macro or function override of add_library is created in more than one scope, either directly or through an include of a common file, cmake seg faults during calls to add_library in the second scope. The call to _add_library in the override resolves to the second 'instance' of the add_library override, resulting in an infinite recursion.
Steps to Reproduce: Uncompress the attached test project, go to the build directory, and run cmake .. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-08-14 15:28 Jason Howlett New Issue 2013-08-14 15:28 Jason Howlett File Added: cmake_crash_test.zip ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers