Solve the problem seen when using recent versions of CMake (such as 2.8.11): OpenCVCo...
authorPhilippe FOUBERT <philippe.foubert@free.fr>
Sun, 4 Aug 2013 18:52:49 +0000 (20:52 +0200)
committerPhilippe FOUBERT <philippe.foubert@free.fr>
Sun, 4 Aug 2013 18:52:49 +0000 (20:52 +0200)
commitebd413c69693cfdd9197a0ebf6514bd4b4fbf46f
treee347fc52b2fab5367a3a27f440a5918dca05482c
parent4ed9b1ca9af31d31785493fa8c93496574f75982
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)..."
cmake/OpenCVGenConfig.cmake