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

Fix minimum CMake version requirement #117

Merged
merged 1 commit into from
Oct 16, 2020
Merged

Conversation

jvanstraten
Copy link
Collaborator

I guess various problems slipped in during #112 that upped the minimum CMake version from 2.8.11 all the way to 3.12. This has to do with object libraries linking to other object libraries. The object libraries are needed at all for pre-#105 build-system compatibility (the old build system would produce both a static and shared library for libqasm, which cannot be done with normal libraries), and until 3.12, object libraries did not support transitive dependency resolution.

I'm not sure it's worth spending more on ancient CMake version compatibility than the half a day I wasted on this already, as installing a newer CMake than your package manager supports is pretty easy (CMake provides its own binary builds for all platforms). If someone does have a problem with this at some point please open an issue and state which minimum version I'd have to target.

@jvanstraten jvanstraten merged commit 51ea87d into develop Oct 16, 2020
@jvanstraten jvanstraten deleted the fix-cmake-min-version branch October 16, 2020 15:42
@jvanstraten jvanstraten mentioned this pull request Oct 16, 2020
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.

None yet

1 participant