summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst
blob: 4ed4281f3897e04cdac17080f62650ad3bbf9c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
IMPORTED_LINK_INTERFACE_LANGUAGES
---------------------------------

Languages compiled into an ``IMPORTED`` static library.

Set this to the list of languages of source files compiled to produce
a ``STATIC IMPORTED`` library (such as ``C`` or ``CXX``).  CMake accounts for
these languages when computing how to link a target to the imported
library.  For example, when a C executable links to an imported C++
static library CMake chooses the C++ linker to satisfy language
runtime dependencies of the static library.

This property is ignored for targets that are not ``STATIC`` libraries.
This property is ignored for non-imported targets.