nmwsharp / polyscope

A C++ & Python viewer for 3D data like meshes and point clouds
https://polyscope.run
MIT License
1.83k stars 203 forks source link

support cmake find_package #293

Open stevalkr opened 3 months ago

stevalkr commented 3 months ago

Hi! I noticed that this library doesn’t seem to support the 'find_package' command from external projects. So, I took some code from my project and created a simple implementation to support it. This is not the best way to handle dependencies, but it does work😄. You may want some modifications to fit your style

Tested only on macOS with CMake 3.27.8.