-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install(TARGETS ...) and favour-expansion #51
Comments
I'll see later today how I really think it should be dealt with but you are probably right because I've missed this part:
|
If you're assuming very restrictive install(
TARGETS
${LIB_NAME}
COMPONENT TARGET_COMPONENT
DESTINATION lib
) is correct. However if install(TARGETS ${LIB_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib) because install(
TARGETS
${LIB_NAME}
${LIB2_NAME}
COMPONENT TARGET_COMPONENT
DESTINATION lib
)
install(
TARGETS
${LIB_NAME}
COMPONENT TARGET_COMPONENT
DESTINATION lib
PERMISSIONS
foo
bar
baz
) I'll release 0.18.1 probably by tomorrow with the fix. |
I actually have line_length set to 120 😅 but what you proposed looks good, thanks :) |
Original expectation is quite understandable when you assume it's almost-not-a-bug. 0.18.1 just got released. |
Hi!
Similarly to #50, I'd like to ask about
install(TARGETS
while usingfavour-expansion
(see respective help here).With 0.18.0, I get the following formatting:
My expectation would be either
or
if we assume the options to be subjects of the target. Personally I'd prefer the earlier.
Could you comment on this?
Thanks,
Adam
The text was updated successfully, but these errors were encountered: