You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to the authors for the opportunity to use this library!
I have a little problem: i installed the fCWT library following the instructions from this official repository, And in the Ubuntu default path /usr/local/share/fcwt/cmake the configuration files fCWT-config.cmake and fCWT-config-release.cmake are present. However, when using the find_package(fCWT REQUIRED)` function in a QT Creator build together with CMakeLists.txt, CMake gives an error:
CMakeLists.txt:14: error: By not providing "FindfCWT.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "fCWT", but CMake did not find one. Could not find a package configuration file provided by "fCWT" with any of the following names:
fCWTConfig.cmake
fcwt-config.cmake
Add the installation prefix of "fCWT" to CMAKE_PREFIX_PATH or set "fCWT_DIR" to a directory containing one of the above files. If "fCWT" provides a separate development package or SDK, be sure it has been installed.
I've tried specifying the path to the configuration files using CMake commands but they don't bring success:
set (CMAKE_MODULE_PATH fCWT-config.cmake REQUIRED)
set (CMAKE_PREFIX_PATH /usr/local/share/fcwt/cmake/fCWT-config.cmake REQUIRED)
set (fCWT-config.cmake_DIR = /usr/local/share/fcwt/cmake/ REQUIRED)
list(APPEND CMAKE_SYSTEM_PREFIX_PATH /usr/local/share/fcwt/cmake)
listing them before find_package(fCWT REQUIRED)
This seems strange to me because it finds the other library (GSL) I use in my small project. My CMakeLists.txt looks like this:
Thanks to the authors for the opportunity to use this library!
I have a little problem: i installed the fCWT library following the instructions from this official repository, And in the Ubuntu default path /usr/local/share/fcwt/cmake the configuration files fCWT-config.cmake and fCWT-config-release.cmake are present. However, when using the
find_package(fCWT
REQUIRED)` function in a QT Creator build together with CMakeLists.txt, CMake gives an error:I've tried specifying the path to the configuration files using CMake commands but they don't bring success:
listing them before
find_package(fCWT REQUIRED)
This seems strange to me because it finds the other library (GSL) I use in my small project. My CMakeLists.txt looks like this:
Thank you for paying attention to my question. I will be glad to receive any advice on how to fix this error.
The text was updated successfully, but these errors were encountered: