-
Notifications
You must be signed in to change notification settings - Fork 3.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
CMAKE_BUILD_TYPE didn't set by default #319
Comments
I think It should display RelWithDebInfo by default, because this:
|
@jollyroger, what you do think? |
according to this thread, setting CMAKE_BUILD_TYPE is just not enough. In the latter messages the proposed way to set default build type is:
Note that in this case using FORCE and setting the docstring is mandatory. |
@jollyroger This works. But that thread didn't explan why we need to use "FORCE". can you ? |
@Red-wolf-s-husband, AFAIR, it just doesn't work without |
But this works fine:
The text was updated successfully, but these errors were encountered: