I tried to run a simple project with simpleble library. For portability I was planning on using FetchContent for library import. I was following an exemplary code found in the documentation.
I have countered the following error:
By not providing "Findsimpleble.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"simpleble", but CMake did not find one.
Could not find a package configuration file provided by "simpleble" with
any of the following names:
simplebleConfig.cmake
simpleble-config.cmake
Add the installation prefix of "simpleble" to CMAKE_PREFIX_PATH or set
"simpleble_DIR" to a directory containing one of the above files. If
"simpleble" provides a separate development package or SDK, be sure it has
been installed.
For reference the code used in the main CMakeLists.txt:
Hi,
I tried to run a simple project with simpleble library. For portability I was planning on using FetchContent for library import. I was following an exemplary code found in the documentation.
I have countered the following error:
For reference the code used in the main CMakeLists.txt:
And the Findsimpleble.cmake:
cmake version 3.25.1
EDIT:
solved by replacing
with