Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Missing find_pacakge(RTIConnextDDS call in dynamic_data_access_union_discriminator/c++11 example #597

Open
lulivi opened this issue Feb 24, 2023 · 0 comments
Labels
bug Bugs or inconsistencies in the examples unconfirmed The bug was not confirmed yet

Comments

@lulivi
Copy link
Collaborator

lulivi commented Feb 24, 2023

System information

  • RTI Product:
  • Version:
  • Operating system:
  • Compiler:
  • Compiler version:
  • Additional information:

What is the current behavior?

The find_package call is missing in the C, C++98 and C++11 examples.

Steps to reproduce the issue

Build any of the examples.

Expected behavior

Adding the following after the connextdds_configure_cmake_utils() function call should fix the problem:

if(NOT RTIConnextDDS_FOUND)
    find_package(RTIConnextDDS
        "7.0.0"
        REQUIRED
        COMPONENTS
            core
    )
endif()

Suggested solutions

@lulivi lulivi added bug Bugs or inconsistencies in the examples unconfirmed The bug was not confirmed yet labels Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs or inconsistencies in the examples unconfirmed The bug was not confirmed yet
Projects
None yet
Development

No branches or pull requests

1 participant