mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -49,5 +49,9 @@ if(OPENCV_DISABLE_THREAD_SUPPORT)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "QNX")
|
||||
ocv_target_link_libraries(${the_module} PUBLIC regex)
|
||||
endif()
|
||||
include(CheckLibraryExists)
|
||||
CHECK_LIBRARY_EXISTS(regex regexec "" HAVE_REGEX_LIBRARY)
|
||||
if(HAVE_REGEX_LIBRARY)
|
||||
ocv_target_link_libraries(${the_module} PUBLIC regex)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user