summaryrefslogtreecommitdiffstats
path: root/Help/release/3.1.0.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-03 13:50:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-03 13:51:11 (GMT)
commitbd360ee329e74487dba526d7847794bc66b55494 (patch)
tree2ab286d7f923b55388424ddd692b7ac7ee2d4469 /Help/release/3.1.0.rst
parent722178fc7ef47020323af4a97dc5600e43652a2b (diff)
downloadCMake-bd360ee329e74487dba526d7847794bc66b55494.zip
CMake-bd360ee329e74487dba526d7847794bc66b55494.tar.gz
CMake-bd360ee329e74487dba526d7847794bc66b55494.tar.bz2
add_library: Fix target type check for non-shared-lib platforms
When checking target types for TARGET_SUPPORTS_SHARED_LIBS == false, enumerate exactly the library types not supported rather than trying to maintain a list of all the types that are supported. Otherwise add_library(SomeImportedLib UNKNOWN IMPORTED) warns on platforms that do not support shared libraries. Reported-by: Kelly Thompson <kgt@lanl.gov>
Diffstat (limited to 'Help/release/3.1.0.rst')
0 files changed, 0 insertions, 0 deletions