Hi, the documentation regarding cross-compiling <https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling> says that CMAKE_FIND_ROOT_PATH_MODE_* are usually set to ONLY to prevent searching for libraries on the host. But this also prevents finding libraries via absolute path or relative path to the project.
Is there a way to prevent searching host sysroot (/usr/lib, /usr/include, etc), while still allowing find_library via absolute paths or paths relative to the project? Thanks.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake