Skip to content

CMake cleanup #66

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

purpleKarrot
Copy link

No description provided.

Setting the minimum required version to a value below 3.10
is deprecated in the current version.  Hence, set the value
to 3.10 in order to avoid deprecation warnings.
Specify the `INCLUDES DESTINATION` in the `install(TARGETS)` command
instead of setting a public include directory.  The effect is the same.
The new approach has the advantage that including `GNUInstallDirs` can
be deferred.
Make sure that the include directory is added to the targets that
need it, rather than all targets in the current directory.
Make sure that architecture specific compile flags are specified
on the source file level rather than at the target level.
This removes the need for object libraries.
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.

1 participant