-
Notifications
You must be signed in to change notification settings - Fork 946
Prefix CMake variables/options #3
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
Comments
Great suggestion, I'll add that. I have not tried yet to build as a sub directory. Let us know if there are other problems too. |
daanx
added a commit
that referenced
this issue
Jun 25, 2019
Fixed it by prefixing all options with MI_ |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
CMakeLists.txt
currently unprefixed variables likeSECURE
orOVERRIDE
. This can be messy and problematic when mimalloc is added to a project viaadd_subdirectory
. Library projects like this ideally should use prefixed variables, e.g.MIMALLOC_SECURE
rather thanSECURE
, so that amalgamations of multiple third-party dependencies used in larger monolithic projects don't end up with name conflicts or messy configuration pages.The text was updated successfully, but these errors were encountered: