![]() ![]() ![]() ![]() based on your comments below, it would seem that FindGTK has not been implemented correctly (since if it isn't present, the use of the REQUIRED flag should cause it to abort with a fatal error, but does not seem to do so in your case). CMake module for finding FFTW 3 using findpackage Usage Once added to your project, this module allows you to find FFTW libraries and headers using the CMake findpackage command: findpackage (FFTW REQUIRED QUIET COMPONENTS component1. since CMake is stilll somewhat new, some of those find modules are not correctly implemented. IntelDPCPP, oneDPL, MKL) on other systems after running: source /opt/intel/oneapi/setvars.sh It fails miserably on DevCloud with the following error: CCicx CXXicpx cmake -S. findpackage (Catch2 3 REQUIRED ) These tests can use the Catch2-provided main addexecutable (tests test. While CMake can successfully find all the necessary oneAPI components (i.e. 0 and newer, Qt ships the modules that let CMake find and use Qt4 and Qt5 libraries Jan 15. Also, one should note that FIND_PACKAGE(XYZ) actually invokes the CMake module FindXYZ, and so each package with a corresponding FIND_PACKAGE has its own CMake module implementing the find operation. I have a project that relies on CMake to build CUDA/ROCm/oneAPI binaries. In the qtrostest package, it combines ROS with Qt5 library. You may also be interested in the documentation for FIND_PACKAGE from the CMake Manual. The command above will cause CMake to abort and print an error message if GTK is not found. Note that if you do the latter, then you can simply use the "REQUIRED" flag with FIND_PACKAGE, as specifying the "REQUIRED" flag ensures that it will fail with an error if it isn't found: MESSAGE(FATAL_ERROR "Could not locate GTK.") cmake in CMAKEMODULEPATH this project has 1> CMake asked CMake to find a package configuration file provided by Qt6, but 1> CMake CMake. Or, if you want it to abort if GTK isn't found: But CMake searches a lot of places for packages, and I didnt find it in the usual locations that I remember, to find a package configuration file provided. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |