bfgroup / Lyra

A simple to use, composable, command line parser for C++ 11 and beyond
https://bfgroup.github.io/Lyra/
Boost Software License 1.0
471 stars 56 forks source link

CMake: use system include dirs if used as sub-project #85

Open stertingen opened 9 months ago

stertingen commented 9 months ago

The code should not emit warnings if used as sub-project. This PR adds CMake logic to detect if Lyra was added using add_subdirectory and declares the include directories as SYSTEM includes.