#c #cmake #lib
Вопрос:
Я знаю, что было много подобных вопросов, но я глуп. Вот мой список покупок:
cmake_minimum_required(VERSION 3.19) project(DeepM) set(CMAKE_CXX_STANDARD 20) find_package(DataFrame-master COMPONENTS system filesystem REQUIRED) add_executable(DeepM main.cpp)
но я получаю ошибку:
CMake Error at CMakeLists.txt:6 (find_package): By not providing "FindDataFrame-master.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "DataFrame-master", but CMake did not find one. Could not find a package configuration file provided by "DataFrame-master" with any of the following names: DataFrame-masterConfig.cmake dataframe-master-config.cmake Add the installation prefix of "DataFrame-master" to CMAKE_PREFIX_PATH or set "DataFrame-master_DIR" to a directory containing one of the above files. If "DataFrame-master" provides a separate development package or SDK, be sure it has been installed.
Так что же мне делать? Я установил что-то не так или что?