The following issue has been SUBMITTED. ====================================================================== https://public.kitware.com/Bug/view.php?id=15626 ====================================================================== Reported By: Andrew Fuller Assigned To: ====================================================================== Project: CMake Issue ID: 15626 Category: CMake Reproducibility: always Severity: crash Priority: high Status: new ====================================================================== Date Submitted: 2015-06-23 13:49 EDT Last Modified: 2015-06-23 13:49 EDT ====================================================================== Summary: 3.3-rc2 segfault (regression) Description: Manipulating a target that was first created in a different directory branch causes a segfault.
Steps to Reproduce: 1. Create the following CMake files: $ tree . ├── CMakeLists.txt ├── dirA │ └── CMakeLists.txt └── dirB └── CMakeLists.txt $ cat CMakeLists.txt add_subdirectory( dirA ) add_subdirectory( dirB ) $ cat dirA/CMakeLists.txt add_library( foo INTERFACE ) $ cat dirB/CMakeLists.txt target_link_libraries( foo INTERFACE ${CMAKE_DL_LIBS} ) 2. Configure $ mkdir build && cd build && cmake .. [...] [1] 6691 segmentation fault (core dumped) cmake .. Additional Information: This works fine with CMake 3.2.1. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-06-23 13:49 Andrew Fuller New Issue ====================================================================== -- 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