Description of changes:
Using CMAKE_SOURCE_DIR breaks everything when the SDK is not the top directory in the source tree.
The SDK's top CMakeLists file defines the ROOT_DIR variable which can be used instead.
This way the SDK can be integrated as a git submodule or using CMake's FetchContent.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Issue #1916
Description of changes: Using CMAKE_SOURCE_DIR breaks everything when the SDK is not the top directory in the source tree. The SDK's top CMakeLists file defines the ROOT_DIR variable which can be used instead. This way the SDK can be integrated as a git submodule or using CMake's FetchContent.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.