docopt / docopt.cpp

C++11 port of docopt
Boost Software License 1.0
1.04k stars 146 forks source link

Check how docopt is used to decide whether generate install target or not. #161

Open black-desk opened 1 year ago

black-desk commented 1 year ago

When I try to use docopt through FecthContent of cmake, docopt.cpp generate the install target as well, which is annoying.

Although there is [a way][stackoverflow-link] to exclude the installation of docopt.cpp, it's not so elegant.

I write this patch by checking how spdlog handling this not-root-project situation. It seems work.