-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 conditional code for no longer supported versions of CMake #2667
Remove conditional code for no longer supported versions of CMake #2667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I scrolled through, besides from a few comments, looks good. Thanks!
@SunBlack Did you use a formatting tool? Which one? |
Notepad++ => Regex Search & Replace ;-) |
I think this is generated by a sequence of search/replace operations with regex :) |
* commands are now always in lowercase * remove unnecessary expressions in else/endif * unified whitespaces between command and bracket
…kage, find_path, include, mark_as_advanced, message, set, target_link_libraries
…yle of command if/else/elseif/endif
c59ad16
to
1cc592f
Compare
Not sure what to do here. Our CI pipeline for windows broke today and I would like to ensure that things on Windows are also running ok, just for precaution. |
We can wait until CI is fixed and then rebase and retest this. |
@SunBlack I would like to suggest the usage of cmake_format for cmake cleanups. If you happen to use Sublime you can use the plugin I wrote to get functionalities like format on save while using cmake_format. |
…o we don't need to check anymore if version is 2.8.X or below
Thanks @jasjuang. I will try this tool later. I think we have enough changes in this PR for now. |
See commit messages ;-)