Skip to content

Add COMPONENT to install targets - #372

Merged
stevengj merged 1 commit into
JuliaStrings:masterfrom
oold:patch-1
Oct 14, 2026
Merged

stevengj merged 1 commit into
JuliaStrings:masterfrom
oold:patch-1

Conversation

@oold

@oold oold commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This is based on the recommendation in Professional CMake: A Practical Guide (section Installing Project Targets).

One can install the runtime dependencies by requesting the Runtime component when installing, the development files when the Development component is requested, or all files when no component is given to the cmake --install command.

Fixes #361.

This is based on the recommendation in Professional CMake: A Practical Guide (section Installing Project Targets).

One can install the runtime dependencies by requesting the `Runtime` component when installing, the development files when the `Development` component is requested, or all files when no component is given to the `cmake --install` command.

Fixes JuliaStrings#361.
Comment thread CMakeLists.txt
Comment thread CMakeLists.txt
@stevengj
stevengj merged commit f72a402 into JuliaStrings:master Oct 14, 2026
14 checks passed
@oold
oold deleted the patch-1 branch October 14, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMakeLists.txt install rules are missing component specification

2 participants