mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 08:19:52 +08:00
c63d79c5b1
* fix openmp include and link issue on macos * turn off have_openmp if OpenMP_CXX_INCLUDE_DIRS is empty * test commit * use condition HAVE_OPENMP and OpenMP_CXX_LIBRARIES for linking * remove trailing whitespace * remove notes * update conditions * use OpenMP_CXX_LIBRARIES for linking
17 lines
352 B
CMake
17 lines
352 B
CMake
set(the_description "Video Analysis")
|
|
ocv_define_module(video
|
|
opencv_imgproc
|
|
OPTIONAL
|
|
opencv_calib3d
|
|
opencv_dnn
|
|
WRAP
|
|
java
|
|
objc
|
|
python
|
|
js
|
|
)
|
|
|
|
if(HAVE_OPENMP AND DEFINED OpenMP_CXX_LIBRARIES AND OpenMP_CXX_LIBRARIES)
|
|
ocv_target_link_libraries(${the_module} LINK_PRIVATE "${OpenMP_CXX_LIBRARIES}")
|
|
endif()
|