Skip to content

Setup cmake find pkg#3

Merged
NoahR-ATC merged 8 commits intomasterfrom
setup-cmake-find-pkg
Apr 12, 2025
Merged

Setup cmake find pkg#3
NoahR-ATC merged 8 commits intomasterfrom
setup-cmake-find-pkg

Conversation

@NoahR-ATC
Copy link

Previous CMake config generated a static library package, but we were not generating the CMake Config/ConfigVersion files needed for find_package to discover the library. This adds that and prompted some improvement of the CMakeLists.

Now only adding "/opt/openFrameworksArduino/include/" to the include directory instead of "/opt/openFrameworksArduino/include/openFrameworksArduino". This means you need to "#include <openFrameworksArduino/ofArduino.h>" instead of just "#include <ofArduino.h>"
This was causing problems when doing it this way for Boost::log in umrt-arm-firmware-lib, so propagating best practices
@NoahR-ATC NoahR-ATC self-assigned this Apr 12, 2025
@NoahR-ATC
Copy link
Author

As with PR #2 the version assertion is failing because when I made that workflow I assumed all repos were using "main" as the default branch. At this point I am still not interested in investing the time to fix that, seeing as this repo is the only one of our repos I know of affected by that problem and this repo is not expected to be changed again.

@NoahR-ATC NoahR-ATC merged commit 566b7c8 into master Apr 12, 2025
1 check failed
@NoahR-ATC NoahR-ATC deleted the setup-cmake-find-pkg branch April 12, 2025 04:02
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