cmake: use absolute library paths from 'pkgconfig'

- drop legacy check_module() macro
- drop 'ALIASOF_'
This commit is contained in:
Alexander Alekhin
2019-04-15 21:29:17 +00:00
parent 169dc9c311
commit 0d747daf47
8 changed files with 132 additions and 100 deletions

View File

@@ -128,8 +128,8 @@ elseif(HAVE_COCOA)
list(APPEND HIGHGUI_LIBRARIES "-framework Cocoa")
endif()
if(UNIX)
#these variables are set by CHECK_MODULE macro
if(TRUE)
# these variables are set by 'ocv_append_build_options(HIGHGUI ...)'
foreach(P ${HIGHGUI_INCLUDE_DIRS})
ocv_include_directories(${P})
endforeach()