# Clarify how interface library is installed

**URL:** https://discourse.cmake.org/t/clarify-how-interface-library-is-installed/10572
**Category:** Usage
**Tags:** os:windows, gen:vs
**Created:** [April 4, 2024, 11:08pm UTC](https://discourse.cmake.org/t/clarify-how-interface-library-is-installed/10572 "2024-04-04T23:08:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gaz0](https://discourse.cmake.org/user_avatar/discourse.cmake.org/gaz0/32/4466_2.png) [@gaz0](https://discourse.cmake.org/u/gaz0)
#### Post date: [April 4, 2024, 11:08pm UTC](https://discourse.cmake.org/t/clarify-how-interface-library-is-installed/10572/1 "2024-04-04T23:08:44Z")

</div>

My question is a much simpler version of a question from 2020: [INTERFACE library not getting installed and no error reported](https://discourse.cmake.org/t/interface-library-not-getting-installed-and-no-error-reported/2185).

In Step 5 of the tutorial, the interface library `tutorial_compiler_flags` is a member of the list `installable_libs`, but no corresponding artifact seems to be installed. The documentation seems clear enough:

> An interface library with no source files is not included as a target in the generated buildsystem. However, it may have properties set on it and it may be installed and exported.

Setting the properties is working - they turn up in the Visual Studio projects on Windows and in the Makefiles on Linux.

Should something be installed for the interface library?

_CMake 3.28, min version 3.15_

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [April 11, 2024, 4:45pm UTC](https://discourse.cmake.org/t/clarify-how-interface-library-is-installed/10572/2 "2024-04-11T16:45:26Z")

</div>

A target of just flags is only going to show up in the `install(EXPORT)` part of the install as there’s nothing else to it. The tutorial could probably explain this better.
