Skip to content
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

Remove unused detect code compiled function #873

Merged

Conversation

killerbot242
Copy link
Contributor

detect_code_compiled function is something from the past and is no longer used

The following comments explains why it was added, and that indeed it is no longer needed, as such.
jtv#851 (comment)

Note that neither of these 2 cmake modules are for public use, they are internal cmake stuff.
Nothing on the outside should use it. This was feedback given by kitware developers.
Revert "remove a use added for a purpose which is gone in the meantime."

This reverts commit 7fdd2f8.
@jtv
Copy link
Owner

jtv commented Aug 2, 2024

Thanks again! Loving the small PRs.

@jtv jtv merged commit b370775 into jtv:master Aug 2, 2024
6 checks passed
@killerbot242
Copy link
Contributor Author

for a next PR, would you consider of bumping the minimum required cmake version.
Currently 3.8 (release date Jan 2017) , proposal 3.12 (release date July 2018).

This would mean that CMP0074 policy is in, and no need to check on that and to special logic, and as such another 15 lines can be removed from config.cmake

@jtv
Copy link
Owner

jtv commented Aug 3, 2024

@killerbot242 sure, that's reasonable. I try not to inconvenience people by raising the minimum version too soon, but it's been long enough that I think Ubuntu (as my benchmark example) has released 2 LTS versions that meet it.

Could you just include this in the next PR maybe?

@killerbot242
Copy link
Contributor Author

ok I will do that, a PR with just the step up, and once that one is merged, the cleanup part

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.

2 participants