My environment is Clang 12.0.0.0, CMake 3.18.3, macOS 10.15.7.
I found out
cmake -DORTOOLS_ROOT:STRING="{path-to-ortools-root-dir}" ..
is not working in my case. But
cmake -DORTOOLS_ROOT=<path-to-ortools-root-dir> ..
is working. Also, I set
cmake_minimum_required(VERSION 3.12)
in CMakeLists.txt to avoid the CMAKE warning for CMP0074. Maybe it helps someone else.
My environment is Clang 12.0.0.0, CMake 3.18.3, macOS 10.15.7. I found out
cmake -DORTOOLS_ROOT:STRING="{path-to-ortools-root-dir}" ..
is not working in my case. Butcmake -DORTOOLS_ROOT=<path-to-ortools-root-dir> ..
is working. Also, I setcmake_minimum_required(VERSION 3.12)
in CMakeLists.txt to avoid the CMAKE warning for CMP0074. Maybe it helps someone else.