cmake_minimum_required(VERSION 3.16)
project(telemetry_streamer)
set(CMAKE_CXX_STANDARD 20)
set(Crow_DIR "/usr/local/lib/cmake/Crow")
find_package(Crow REQUIRED)
add_executable(telemetry_streamer src/rest/rest_service.cpp src/rest/crow_rest.cpp)
include_directories(include)
find_package(Boost REQUIRED COMPONENTS system thread filesystem)
target_link_libraries(telemetry_streamer PRIVATE Crow::Crow Boost::system Boost::thread Boost::filesystem)
I'm getting the rror
CMake Warning at CMakeLists.txt:9 (find_package):
By not providing "FindCrow.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Crow", but
CMake did not find one.
Could not find a package configuration file provided by "Crow" with any of
the following names:
CrowConfig.cmake
crow-config.cmake
Add the installation prefix of "Crow" to CMAKE_PREFIX_PATH or set
"Crow_DIR" to a directory containing one of the above files. If "Crow"
provides a separate development package or SDK, be sure it has been
installed.
but
root@DESKTOP-URJT285:/usr/local/lib/cmake/Crow# ls
CrowConfig.cmake CrowTargets.cmake Findasio.cmake
it exists in this directory. so what am I doing wrong?