mirror of
https://github.com/google/brotli.git
synced 2026-04-06 06:03:43 +00:00
[PR #966] Wrap interface include directories with BUILD_INTERFACE generator expression #1527
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/google/brotli/pull/966
State: closed
Merged: Yes
When exporting a CMake target using install(TARGETS) + install(EXPORT),
CMake requires all include directories to be clean of build system
directories.
https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.html
This change also allows use of brotli as a CMake subproject and
installing + exporting it.
Needed for https://github.com/libsdl-org/SDL_image/pull/189 (brotli is a dependency of libjxl)