Hi, all:
It looks I cannot build these 3 modules under opencv_contrib:
Error messages:
CMake Error at ....../opencv/cmake/OpenCVUtils.cmake:896 (target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "opencv_hdf". All uses of target_link_libraries with a target
must be either all-keyword or all-plain.
The uses of the keyword signature are here:
* ....../opencv/cmake/OpenCVUtils.cmake:896 (target_link_libraries)
Call Stack (most recent call first):
....../opencv_contrib/modules/hdf/CMakeLists.txt:34 (ocv_target_link_libraries)
CMake Error at ....../opencv/cmake/OpenCVUtils.cmake:896 (target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "opencv_freetype". All uses of target_link_libraries with a
target must be either all-keyword or all-plain.
The uses of the keyword signature are here:
* ....../opencv/cmake/OpenCVUtils.cmake:896 (target_link_libraries)
Call Stack (most recent call first):
....../opencv_contrib/modules/freetype/CMakeLists.txt:23 (ocv_target_link_libraries)
CMake Error at ....../opencv/cmake/OpenCVUtils.cmake:896 (target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "opencv_text". All uses of target_link_libraries with a target
must be either all-keyword or all-plain.
The uses of the keyword signature are here:
* ....../opencv/cmake/OpenCVUtils.cmake:896 (target_link_libraries)
Call Stack (most recent call first):
....../opencv_contrib/modules/text/CMakeLists.txt:11 (ocv_target_link_libraries)
Errors occurred during the last pass
Did anybody else meet the same issue?
Cheers
Pei
CMake version?
I got the same error. I got it resolved by using 3.1.0 version of opencv_contrib instead of 3.2.0 or master.
Did anybody solve this problem so far??? So expecting the solutions....
Cheers
Pei
[alalek] This comment is not related to original issue
This is a complete answer 鉂わ笍