C++ 如何使用CGAL配置CMake?
我正在为我的3D项目安装CGAL。 我使用vcpkg包(库)安装了CGAL,并尝试使用CGAL配置编译器/链接器CMake 不幸的是,我在用CMake配置CGAL时遇到了一个错误(见下文)。如何将这两者联系在一起?这个错误意味着什么C++ 如何使用CGAL配置CMake?,c++,cmake,cgal,C++,Cmake,Cgal,我正在为我的3D项目安装CGAL。 我使用vcpkg包(库)安装了CGAL,并尝试使用CGAL配置编译器/链接器CMake 不幸的是,我在用CMake配置CGAL时遇到了一个错误(见下文)。如何将这两者联系在一起?这个错误意味着什么 ****CMake Error at CMakeLists.txt:22 (find_package): By not providing "FindCGAL.cmake" in CMAKE_MODULE_PATH this project has asked C
****CMake Error at CMakeLists.txt:22 (find_package):
By not providing "FindCGAL.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CGAL", but
CMake did not find one.
Could not find a package configuration file provided by "CGAL" with any of
the following names:
CGALConfig.cmake
cgal-config.cmake
Add the installation prefix of "CGAL" to CMAKE_PREFIX_PATH or set
"CGAL_DIR" to a directory containing one of the above files. If "CGAL"
provides a separate development package or SDK, be sure it has been
installed.****
Configuring incomplete, errors occurred!
See also "C:/Users/Desktop/CGAL-5.0.2/examples/Triangulation_2/build/CMakeFiles/CMakeOutput.log".
这个建议适用于你的情况吗?同样,欢迎!你能在问题帖中提供你的CMake代码吗?简单地提供错误消息并不能提供正在发生的事情以及问题所在的全貌。该建议是否适用于您的情况?另外,欢迎!你能在问题帖中提供你的CMake代码吗?仅仅提供错误消息并不能提供正在发生的事情以及问题可能在哪里的全貌。