Skip to content

Keep compile flags private#296

Open
observant2 wants to merge 1 commit intothestk:masterfrom
observant2:master
Open

Keep compile flags private#296
observant2 wants to merge 1 commit intothestk:masterfrom
observant2:master

Conversation

@observant2
Copy link

Hi! I used rtmidi with vcpkg and ran into problems with compiling it with CMAKE_BUILD_TYPE debug. I'm not sure if this pull request fixes the problem, but if I understand it right then this at least doesn't propagate Werror to projects that add rtmidi as a dependency.

Also CMAKE_COMPILER_IS_GNUCXX is deprecated according to CMake docs, so I replaced it with what was written there.

@garyscavone
Copy link
Contributor

Does anyone have any feedback on this PR? I don't use CMake and the author isn't so confident that this actually fixes a problem.

@CasparKielwein
Copy link

The patch looks fine to me.

I can't judge if it fixes the issue of OP, but it is a correct change to make compile flag target private.

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.

3 participants