Skip to content

I'm trying to add the -a option in CMake, but it's not working. How can I fix this? #24953

Closed Answered by Aaron-Bird
Aaron-Bird asked this question in Q&A
Discussion options

You must be logged in to vote

I found a solution, like this:

set_target_properties(Project1 PROPERTIES
     SUFFIX ".html"
     OUTPUT_NAME "index"
)

Reference #19973 (comment)

But I'm wondering, why doesn't the target_link_options option work?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Aaron-Bird
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant