Skip to content

Conversation

@georgemp
Copy link
Contributor

When building a library for macOS, CMake errors with

CMake Error at src/CMakeLists.txt:161 (install):
  install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable

But, since this isn't an executable the flag CMAKE_MACOSX_BUNDLE need not be set. This PR ignores setting of this flag if we pass in -DCMAKE_MACOSX_BUNDLE=NO while invoking CMake.

@leetal leetal merged commit 04d91f6 into leetal:master Nov 13, 2022
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.

2 participants