Skip to content

Conversation

@ukicomputers
Copy link


Note for reviewers: do we need to check if package isn't available, and then throw error (something like this):

if(MyPackage_FOUND)
    message(STATUS "MyPackage found!")
else()
    message(WARNING "MyPackage not found.")
endif()

Or just do nothing (CMake will throw an error if package is not found)?

@ukicomputers ukicomputers changed the title Don't use a specific version for the package (CMake throws and error) Don't use a specific version for the main-cmake-pkg (CMake throws and error) Oct 3, 2024
@ukicomputers ukicomputers closed this by deleting the head repository Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant