yhirose / cpp-peglib

A single file C++ header-only PEG (Parsing Expression Grammars) library
MIT License
879 stars 112 forks source link

Changed INTERFACE location to CMAKE_CURRENT_SOURCE_DIR for package ma… #298

Closed trcwm closed 4 months ago

trcwm commented 4 months ago

…nager compatibility.

CMAKE_SOURCE_DIR points to the top-level CMakeLists.txt, not to the subdir CMakeLists.txt, so when cpp-peglib is included in a project, the INTERFACE/include directory points to the wrong location.

yhirose commented 4 months ago

@sum01, @jimmy-park, could you review this pull request for me? Thanks!

yhirose commented 4 months ago

@trcwm @sum01 @jimmy-park thanks for your help!

trcwm commented 4 months ago

Issue #297 can be closed.