mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-17 15:26:00 +08:00
Merge pull request #3217 from MehdiChinoune:patch-1
This commit is contained in:
@@ -29,6 +29,8 @@ if(NOT DEFINED GFLAGS_INCLUDE_DIRS AND DEFINED GFLAGS_INCLUDE_DIR)
|
||||
endif()
|
||||
if(NOT GFLAGS_LIBRARIES AND TARGET gflags::gflags)
|
||||
set(GFLAGS_LIBRARIES gflags::gflags)
|
||||
elseif(NOT GFLAGS_LIBRARIES AND TARGET gflags)
|
||||
set(GFLAGS_LIBRARIES gflags)
|
||||
endif()
|
||||
if(NOT DEFINED GLOG_INCLUDE_DIRS AND DEFINED GLOG_INCLUDE_DIR)
|
||||
set(GLOG_INCLUDE_DIRS "${GLOG_INCLUDE_DIR}")
|
||||
|
Reference in New Issue
Block a user