Ask Your Question

Revision history [back]

Building OpenCV

I'm trying to build OpenCV 3.2.0 with CMake 3.7.2 (same problem with CMake 3.4.0) and during the configure step I get lots of error messages related to ocv_get_all_libs:

CMake Error at cmake/OpenCVUtils.cmake:964 (get_target_property): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "ARCHIVE_OUTPUT_DIRECTORY" is not allowed. Call Stack (most recent call first): cmake/OpenCVGenPkgconfig.cmake:40 (ocv_get_all_libs) CMakeLists.txt:739 (include)

Any hint how to get around this?

Regards, Christina Rossmanith

Building OpenCV

I'm trying to build OpenCV 3.2.0 with CMake 3.7.2 (same problem with CMake 3.4.0) and during the configure step I get lots of error messages related to ocv_get_all_libs:

CMake Error at cmake/OpenCVUtils.cmake:964 (get_target_property):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "ARCHIVE_OUTPUT_DIRECTORY" is not allowed.
Call Stack (most recent call first):
cmake/OpenCVGenPkgconfig.cmake:40 (ocv_get_all_libs)
CMakeLists.txt:739 (include)

(include)

Any hint how to get around this?

Regards, Christina Rossmanith