mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
Fix OpenCVConfig.cmake for Arch Linux.
This commit is contained in:
@@ -76,7 +76,7 @@ endif()
|
|||||||
|
|
||||||
# Extract the directory where *this* file has been installed (determined at cmake run-time)
|
# Extract the directory where *this* file has been installed (determined at cmake run-time)
|
||||||
# Get the absolute path with no ../.. relative marks, to eliminate implicit linker warnings
|
# Get the absolute path with no ../.. relative marks, to eliminate implicit linker warnings
|
||||||
set(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
get_filename_component(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_DIR}" REALPATH)
|
||||||
get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/@OpenCV_INSTALL_PATH_RELATIVE_CONFIGCMAKE@" REALPATH)
|
get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/@OpenCV_INSTALL_PATH_RELATIVE_CONFIGCMAKE@" REALPATH)
|
||||||
|
|
||||||
# Search packages for host system instead of packages for target system.
|
# Search packages for host system instead of packages for target system.
|
||||||
|
|||||||
Reference in New Issue
Block a user