Solve the problem seen when using recent versions of CMake (such as 2.8.11): OpenCVConfig.cmake violates the policy CMP0004.
Symptoms: CMake Error at CMakeLists.txt:10 (add_executable): Target "my_app" links to item "C:/Program Files " which has leading or trailing whitespace. This is now an error according to policy CMP0004. This problem occurs when building on Windows when we depend on libraries located (for example) in "C:\Program Files (x86)..."pull/1221/head
parent
4ed9b1ca9a
commit
ebd413c696
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue