SpartanJ / efsw

efsw is a C++ cross-platform file system watcher and notifier.
Other
645 stars 98 forks source link

CMake: fix export using the root project's name #132

Closed merwaaan closed 2 years ago

merwaaan commented 2 years ago

Hi,

The CMake export used the CMAKE_PROJECT_NAME variable instead of PROJECT_NAME, which leads to the generated files having incorrect names when efsw is used as a subproject of another CMake-based project (ie. efswConfig.cmake was instead named [root project name]Config.cmake).

SpartanJ commented 2 years ago

Thanks!