Skip to content

Commit

Permalink
Merge pull request #2352 from abussy-aldebaran/feature/cmake_urdf
Browse files Browse the repository at this point in the history
cmake - Fix cmake when urdf support is disabled.
  • Loading branch information
jcarpent committed Jul 25, 2024
2 parents b29e85e + 43f5b28 commit dfa383c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export_boost_default_options()
add_project_dependency(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})

if(Boost_VERSION_STRING VERSION_LESS 1.81)
if(BUILD_WITH_URDF_SUPPORT AND ${urdfdom_VERSION} VERSION_GREATER "0.4.2")
if(BUILD_WITH_URDF_SUPPORT AND "${urdfdom_VERSION}" VERSION_GREATER "0.4.2")
check_minimal_cxx_standard(11 ENFORCE)
message(
STATUS
Expand Down

0 comments on commit dfa383c

Please sign in to comment.