-
Notifications
You must be signed in to change notification settings - Fork 41
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
Builds in debug mode when CMAKE_BUILD_TYPE=Release #389
Comments
@yurivict I cannot reproduce this behavior on my Linux box with CMake 3.1 and gcc 5.4. Default CMake flags for That's said, FreeBSD and Ubuntu Linux default CMake settings might differ. Although it's easy to patch this particular problem (simply by adding "-DNDEBUG" explicitly to compiler flags in our cmake scripts), i'd like to get to the root of it. Unfortunately, we currently do not have access to a FreeBSD box. Could you please generate a fresh |
...but a client code still should get the warning. Also, modified compilation flags are now recorded in CMake cache. This is tangentially related to issue ALPSCore#389 and should close ALPSCore#419.
This is fixed. |
With
CMAKE_BUILD_TYPE=Release
getting these warning:CMAKE_BUILD_TYPE should fully determine debug flags.
The text was updated successfully, but these errors were encountered: