SE
find_path(OpenCV_ROOT_DIR NAMES test.pp PATHS test)
как то так
Size: a a a
SE
find_path(OpenCV_ROOT_DIR NAMES test.pp PATHS test)
II
include/opencv/cv.h
, для которого OpenCV_ROOT_DIR
должен стать /sdk/opencv
II
CMAKE_FIND_ROOT_PATH=/sdk/opencv
поиск будет начинаться именно из указанного пути, но он почему-то начинается из {путь}/include
SE
SE
SE
find_path(OpenCV_INCLUDE_DIR NAMES test.pp PATHS ${OpenCV_ROOT_DIR} PATH_SUFFIXES test)
SE
find_path(OpenCV_INCLUDE_DIR NAMES opencv/cv.h PATHS ${OpenCV_ROOT_DIR})
II
OpenCV_ROOT_DIR
?)SE
AZ
EP
SE
II
-DSDK_PATH=/sdk/hi3531
, и дальше в нем находить все и всяческие курлы, опенцв, бусты и йтAZ
AZ
SE
Vcpkg's approach to accessing previous versions is exactly what you've done; either using git reset to freeze yourself to the set of library versions you need or using git checkout <sha> -- ports/boost to pull a specific version of a specific port forward.
You might also find the vcpkg export command useful if you only need the old set of libraries for a single project and you'd otherwise like to have the newer boost version available. Simply clone a second copy of Vcpkg (at the old commit), then install all the libraries you'd like to have, then use vcpkg export boost:x64-windows --nuget --zip to get a fully shrink-wrapped bundle of your projects dependencies.
This approach minimizes the burden on library authors and maintainers (how many boost versions must you test against? We say: only the latest supported upstream release), though the user experience can be rough as you've experienced and we do want to improve it in the future.
II
-DSDK_PATH=/sdk/hi3531
, и дальше в нем находить все и всяческие курлы, опенцв, бусты и йтfind_path()
начинает искать не из указанного корня, а из папки include
в нёмEP
Vcpkg's approach to accessing previous versions is exactly what you've done; either using git reset to freeze yourself to the set of library versions you need or using git checkout <sha> -- ports/boost to pull a specific version of a specific port forward.
You might also find the vcpkg export command useful if you only need the old set of libraries for a single project and you'd otherwise like to have the newer boost version available. Simply clone a second copy of Vcpkg (at the old commit), then install all the libraries you'd like to have, then use vcpkg export boost:x64-windows --nuget --zip to get a fully shrink-wrapped bundle of your projects dependencies.
This approach minimizes the burden on library authors and maintainers (how many boost versions must you test against? We say: only the latest supported upstream release), though the user experience can be rough as you've experienced and we do want to improve it in the future.
AZ
Vcpkg's approach to accessing previous versions is exactly what you've done; either using git reset to freeze yourself to the set of library versions you need or using git checkout <sha> -- ports/boost to pull a specific version of a specific port forward.
You might also find the vcpkg export command useful if you only need the old set of libraries for a single project and you'd otherwise like to have the newer boost version available. Simply clone a second copy of Vcpkg (at the old commit), then install all the libraries you'd like to have, then use vcpkg export boost:x64-windows --nuget --zip to get a fully shrink-wrapped bundle of your projects dependencies.
This approach minimizes the burden on library authors and maintainers (how many boost versions must you test against? We say: only the latest supported upstream release), though the user experience can be rough as you've experienced and we do want to improve it in the future.
II