Skip to content

Commit

Permalink
Require minimum versions on CMakeLists template.
Browse files Browse the repository at this point in the history
The code generated is now designed for Fast CDR >= 2.0 and Fast DDS >= 2.12,
so the generated CMakeLists.txt should require those versions.

Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Sep 13, 2023
1 parent 6a2c67d commit cc9171a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS OFF)

# Find requirements
find_package(fastcdr REQUIRED)
find_package(fastrtps REQUIRED)
find_package(fastcdr 2 REQUIRED)
find_package(fastrtps 2.12 REQUIRED)

$solution.projects : { project | $pub_sub_execs(project=project, libraries=solution.libraries, test=test)$}; separator="\n"$

Expand Down

0 comments on commit cc9171a

Please sign in to comment.