mirror of https://github.com/opencv/opencv.git
Use find_program() to set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER. Originally the variables was set to compiler name, without absolute path. CMake 3.0 tries to find them in CMAKE_FIND_ROOT_PATH (since CMAKE_FIND_ROOT_PATH_MODE_PROGRAM was set to ONLY) and fails.pull/3624/head
parent
df57d038b8
commit
5978ef1df5
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue