AdaptiveCpp / AdaptiveCpp/AdaptiveCpp

cmake error: Could not find a package configuration file

Đang mở
#1,456 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
discussion
Ngôn ngữ chính
C++
Star
1.9k
Fork
228
Merge trung bình
4 ngày 1 giờ
Pull request đã merge (30 ngày)
25

Mô tả

I am doing autoporting of geogram code using AdaptiveCpp. When executed the cmake command

cmake .. -DGeogram_DIR=/...../geogram/cmake -DAdaptiveCpp_DIR=/...../AdaptiveCpp/lib/cmake/AdaptiveCpp -DACPP_TARGETS='cuda:sm_86'
in geobox/build got the following error:

CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindGeogram.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Geogram", but
CMake did not find one.

Could not find a package configuration file provided by "Geogram" with any
of the following names:

GeogramConfig.cmake
geogram-config.cmake

Add the installation prefix of "Geogram" to CMAKE_PREFIX_PATH or set
"Geogram_DIR" to a directory containing one of the above files. If
"Geogram" provides a separate development package or SDK, be sure it has
been installed.
But I have already added the path to FindGeogram.cmake in the cmakelist of geobox using Geogram_DIR and also given the path while running the cmake command. No files named GeogramConfig.cmake or geogram-config.cmake are created.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.