yhirose / cpp-peglib

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

Changed INTERFACE location to CMAKE_CURRENT_SOURCE_DIR for package ma… #298

Closed trcwm closed 7 months ago

trcwm commented 7 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 7 months ago

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

yhirose commented 7 months ago

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

trcwm commented 7 months ago

Issue #297 can be closed.