Hello everyone. I have installed or-tools from the source as in the
official docs, because the instructions in the readme of the binaries folder did not work out.
I am trying use or-tools with my project, but I am having problems to link the library with cmake. I have added "find_package(ortools REQUIRED)" to CMakeLists.txt, and created a file "Findortools.cmake" as discusses in
this issue. Unfortunately, I still get an error, and I do not know what else to do. I have been searching around unsuccessfully. I really appreciate any helps. The error when executing cmake -Bbuild is the following:
CMake Error at /snap/cmake/1082/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ortools (missing: ORTOOLS_LIBRARIES ORTOOLS_INCLUDE_DIRS)
Call Stack (most recent call first):
/snap/cmake/1082/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/Findortools.cmake:92 (find_package_handle_standard_args)
CMakeLists.txt:7 (find_package)