![]() | 1 | initial version |
I'm not sure I understand why you need to "hard code paths in the CMake".
CMAKE_PREFIX_PATH
is an environment variable. As long as the *Config.cmake
files are in the appropriate location, CMake will find them.
![]() | 2 | No.2 Revision |
I'm not sure I understand why you need to "hard code paths in the CMake".
CMAKE_PREFIX_PATH
is an environment variable. As long as the *Config.cmake
files are in the appropriate location, CMake will find them.
Note: it's a prefix path, not a full path. CMake searches a few standard locations in each path on the CMAKE_PREFIX_PATH
.