diff options
author | Andrey Pokrovskiy <wonder.mice@gmail.com> | 2016-01-21 02:29:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-21 15:53:30 (GMT) |
commit | 7dbfdddf33ab2d52e471c8533897bc2d7aeb40c9 (patch) | |
tree | 18feed57689d02e9604e98cb413a5412ad48041a /Source/bindexplib.h | |
parent | 750ae8d5a8890f5d8091105a0b03bee085cc4dff (diff) | |
download | CMake-7dbfdddf33ab2d52e471c8533897bc2d7aeb40c9.zip CMake-7dbfdddf33ab2d52e471c8533897bc2d7aeb40c9.tar.gz CMake-7dbfdddf33ab2d52e471c8533897bc2d7aeb40c9.tar.bz2 |
cmExportInstallFileGenerator: Fix crash in FindNamespaces
Refactoring merged by commit 9afbb733ec (Merge topic
'use-generator-target', 2015-10-20) in and around commit 381e7afd
(cmExportSet: Store a cmGeneratorTarget, 2015-10-17) forgot to update
one place in this method. This leads to a crash in code such as
add_library(A a.c)
add_library(B b.c)
target_link_libraries(B A)
install(TARGETS B DESTINATION lib EXPORT ExpB)
install(EXPORT ExpB DESTINATION lib/cmake/test)
add_executable(C c.c)
install(TARGETS C DESTINATION bin EXPORT ExpC)
Fix the target name reference to avoid using an unpopulated Target
pointer.
Diffstat (limited to 'Source/bindexplib.h')
0 files changed, 0 insertions, 0 deletions