Skip to content

Commit 0928ea3

Browse files
committed
cmake: Add coal backward compatibility support to workspace
1 parent d322574 commit 0928ea3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ add_library(${LIBRARY_NAME}
189189
)
190190
add_library(${LIBRARY_NAME}::${LIBRARY_NAME} ALIAS ${LIBRARY_NAME})
191191

192+
if(COAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL)
193+
add_library(hpp-fcl ALIAS ${LIBRARY_NAME})
194+
add_library(hpp-fcl::hpp-fcl ALIAS ${LIBRARY_NAME})
195+
endif()
196+
192197
if(UNIX)
193198
get_relative_rpath(${CMAKE_INSTALL_LIBDIR} ${PROJECT_NAME}_INSTALL_RPATH)
194199
set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${${PROJECT_NAME}_INSTALL_RPATH}")

0 commit comments

Comments
 (0)