- use "Marble" and "Astro" as cmake target names, so 3rd-party lib users would do: find_package(Marble REQUIRED) find_package(Astro REQUIRED) target_link_libraries(foo Marble Astro) # include dirs imported by target
- only install headers & cmake config files on unbundled platforms for now
Details
Details
- Reviewers
sanjibanb nienhueser rahn shentey - Group Reviewers
Marble - Commits
- R34:b40c2cba738d: Create and install CMake Config file for marble & astro libraries
Diff Detail
Diff Detail
- Repository
- R34 Marble
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Lovely, that is much needed. Great work! I guess tools/version/update-version-number.py needs a minor tweak also to deal with variable name changes like GENERIC_LIB_VERSION => MARBLE_LIB_VERSION.
src/lib/marble/CMakeLists.txt | ||
---|---|---|
433 | Reminds me we need to get rid of that flag. |