• Philippe FOUBERT's avatar
    Solve the problem seen when using recent versions of CMake (such as 2.8.11):… · ebd413c6
    Philippe FOUBERT authored
    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)..."
    ebd413c6
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
README Loading commit data...
index.rst Loading commit data...