Skip to content

Sevral fixes for FastCV handling.#26671

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov:as/fastcv_cmake_fix
Dec 26, 2024
Merged

Sevral fixes for FastCV handling.#26671
asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov:as/fastcv_cmake_fix

Conversation

@asmorkalov
Copy link
Copy Markdown
Contributor

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

ocv_install_target(fastcv_hal EXPORT OpenCVModules ARCHIVE DESTINATION ${OPENCV_3P_LIB_INSTALL_PATH} COMPONENT dev)
endif()

ocv_install_3rdparty_licenses(FastCV "${OpenCV_BINARY_DIR}/3rdparty/fastcv/LICENSE")
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin Dec 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would be better to restore the LICENSE file instead. With at least short license description:

Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
SPDX-License-Identifier: Apache-2.0

Or is it the LICENSE file from the archive?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command moved to cmake/OpenCVFindLibsPerf.cmake. I just fixed the case, when CMake is pointed to some external instance of FastCV, e.g. build root for Linux. The license file is not there.

@asmorkalov asmorkalov self-assigned this Dec 26, 2024
@asmorkalov asmorkalov merged commit aeb7a9b into opencv:4.x Dec 26, 2024
@asmorkalov asmorkalov mentioned this pull request Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants