xhawk18 / promise-cpp

C++ promise/A+ library in Javascript style.
MIT License
672 stars 92 forks source link

Include dir is now public and example builds optional. #19

Closed 5cript closed 2 years ago

5cript commented 2 years ago

target_link_library(mything PRIVATE promise)

is not sufficient, because promise does not provide its include directory to the using target. I changed that.

I also made the example builds optional via an option, so I can omit them in my project. Please crosscheck that I didnt opt-out too much!

xhawk18 commented 2 years ago

Good patch for cmakefile! Thank you!