core/CMakeLists: Use target_compile_definitions instead of add_definitions for specifying ENABLE_WEB_SERVICE

Avoids introducing the definition to the whole directory space and
localizes it to being added to the library that needs it.
This commit is contained in:
Lioncash 2018-10-10 20:54:00 -04:00
parent 03ec936ca0
commit 6e6ce2ce39
1 changed files with 1 additions and 1 deletions