Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2382182

Browse files
committedMar 21, 2022
Install sdf/1.8 to versioned path
Fixes a mistake from merging forward in #808. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent b0647c9 commit 2382182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎sdf/1.8/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ add_custom_target(schema1_8 ALL DEPENDS ${SDF_SCHEMA})
8282

8383
set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
8484

85-
install(FILES 1_7.convert ${sdfs} DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/sdformat${SDF_MAJOR_VERSION}/1.8)
86-
install(FILES ${SDF_SCHEMA} DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/sdformat${SDF_MAJOR_VERSION}/1.8)
85+
install(FILES 1_7.convert ${sdfs} DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/sdformat${PROJECT_VERSION_MAJOR}/1.8)
86+
install(FILES ${SDF_SCHEMA} DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/sdformat${PROJECT_VERSION_MAJOR}/1.8)

0 commit comments

Comments
 (0)
Please sign in to comment.