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

Fixed the cmake compile options to not override parent project #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phbasler
Copy link
Contributor

@beniz @nikohansen
In phbasler/BSMPT#72 we noticed some issues with including cmaes as a submodule in a larger CMake project.
The old way to set CMAKE_CXX_FLAGS(_DEBUG/_RELEASE) overwrote the flags set by the parent project, which in our case led to a runtime crash.
After adjusting it locally to the proposed change, it works as expected.

phbasler pushed a commit to phbasler/BSMPT that referenced this pull request May 25, 2022
guikos11 pushed a commit to guikos11/BSMPT that referenced this pull request Jul 28, 2024
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