summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompilerId.cpp.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-06 21:48:53 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-06 21:48:53 (GMT)
commitd76b20bf3ae9b045fc3c17f8d5e33fccd997b175 (patch)
tree745768d27e4635a946234eec29cc72cce255d678 /Modules/CMakeCXXCompilerId.cpp.in
parent37a009b7f704e26e2a76485d74c3ee5612f208d7 (diff)
downloadCMake-d76b20bf3ae9b045fc3c17f8d5e33fccd997b175.zip
CMake-d76b20bf3ae9b045fc3c17f8d5e33fccd997b175.tar.gz
CMake-d76b20bf3ae9b045fc3c17f8d5e33fccd997b175.tar.bz2
BUG: Avoid bogus dependency on executable targets
When an executable target within the project is named in target_link_libraries for another target, but the executable does not have the ENABLE_EXPORTS property set, then the executable cannot really be linked. This is probably a case where the user intends to link to a third-party library that happens to have the same name as an executable target in the project (or else will get an error at build time). We need to avoid making the other target depend on the executable target incorrectly, since the executable may actually want to link to that target and this is not a circular depenency.
Diffstat (limited to 'Modules/CMakeCXXCompilerId.cpp.in')
0 files changed, 0 insertions, 0 deletions