pmed / v8pp

Bind C++ functions and classes into V8 JavaScript engine
http://pmed.github.io/v8pp/
Other
901 stars 121 forks source link

make compatible with installed v8 from vcpkg #178

Closed MangelSpec closed 2 years ago

MangelSpec commented 2 years ago

not sure if it's the best way, but if vcpkg cmake toolchain is used, it defines that property and using a custom findV8 is not required.

pmed commented 2 years ago

Thanks!

I didn't test it with vcpkg, but modified custom cmake/FindV8.cmake to use V8::V8 alias.