Rename ptrie-ext and json-ext to the standard names, and use find_package if STRATEGY_GetDependencies is not set.
The add_dependencies command is put into an if (STRATEGY_GetDependencies) block, because they are not dependency targets, and therefore cannot be used with that command.
Rename ptrie-ext and json-ext to the standard names, and use find_package if STRATEGY_GetDependencies is not set.
The add_dependencies command is put into an if (STRATEGY_GetDependencies) block, because they are not dependency targets, and therefore cannot be used with that command.