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

Fix CMake config to allow using imnodes as sub project #182

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

Auburn
Copy link
Collaborator

@Auburn Auburn commented Apr 19, 2023

  • Swap uses of CMAKE_SOURCE_DIR for CMAKE_CURRENT_SOURCE_DIR
  • Detect if running as a sub project
  • Add option to build examples, defaults to off if running as a subproject
  • Allow custom imgui target name since this can vary because imgui doesn't natively include a CMakeLists.txt

IMGUI_DEFINE_MATH_OPERATORS now needs to be defined before #include <imgui.h>
@Auburn Auburn merged commit 5f6c581 into Nelarius:master Feb 21, 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