-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error "Version string portion was too short or too long" for msvc with native cmake #809
Comments
Reverted the problematic CMake commit in ae4a394, but please report the issue to MSVC developers since it looks like a bug in their parser. |
Might be fixable from the CMake side too. I’ll check this next week. |
@Aletschhorn, can you try replacing |
I quickly checked again, whats MSVC does not like is
Thus, as mentioned by @vitaut , this seems like a bug from the MSVC implementation. |
Thanks @Aletschhorn . I've added a request for a note in the documentation here: https://gitlab.kitware.com/cmake/cmake/issues/18178 . |
FYI: This has now just been fixed with the most recent MSVC update. |
When adding fmtlib as a subfolder to any of my projects in MSVC 2017 (Windows 10) with native cmake support (cmake: 3.11.18040201-MSVC_2) I get an error :
I think it is somehow related to the version requirements in the CMakeLists.txt:
When using cmake from the command line, it does not occur.
The text was updated successfully, but these errors were encountered: