diff options
author | Brad King <brad.king@kitware.com> | 2013-11-13 14:57:20 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-13 14:57:20 (GMT) |
commit | 3c4071bec469f10cd802c8db43f3558aa71bd73b (patch) | |
tree | 5864f57c427370b643e13e3d74c383656fa304c3 /Source | |
parent | 3822f5bcacf5076d8c1832e2dae57b47c1247f56 (diff) | |
parent | 64f73b0fb630f3ecc2f94e3e5b4ab2d1cc117f50 (diff) | |
download | CMake-3c4071bec469f10cd802c8db43f3558aa71bd73b.zip CMake-3c4071bec469f10cd802c8db43f3558aa71bd73b.tar.gz CMake-3c4071bec469f10cd802c8db43f3558aa71bd73b.tar.bz2 |
Merge topic 'fix-INTERFACE-with-no-SHARED-libs'
64f73b0 add_library: Fix INTERFACE on platforms with no shared libs (#14561)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAddLibraryCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx index 4c591b6..e9c5d6b 100644 --- a/Source/cmAddLibraryCommand.cxx +++ b/Source/cmAddLibraryCommand.cxx @@ -229,6 +229,7 @@ bool cmAddLibraryCommand yet its linker language. */ if ((type != cmTarget::STATIC_LIBRARY) && (type != cmTarget::OBJECT_LIBRARY) && + (type != cmTarget::INTERFACE_LIBRARY) && (this->Makefile->GetCMakeInstance()->GetPropertyAsBool( "TARGET_SUPPORTS_SHARED_LIBS") == false)) { |