tcsullivan / consteval-huffman

Compile-time Huffman coding compression using C++20
The Unlicense
165 stars 10 forks source link

Include CPack only if top level project #4

Closed friendlyanon closed 3 years ago

friendlyanon commented 3 years ago

I made a mistake, the CPack module should only be included in a top level project.
Doing otherwise would cause problems for people who use git submodule + add_subdirectory or FetchContent to consume this library.