We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9885e9 commit b2be5dfCopy full SHA for b2be5df
1 file changed
CMakeLists.txt
@@ -600,7 +600,10 @@ endif()
600
601
# Export old-style CMake variables
602
ament_export_include_directories("include/${PROJECT_NAME}")
603
-ament_export_libraries(${PROJECT_NAME} ${CMAKE_DL_LIBS})
+
604
+if(NOT RCUTILS_NO_FILESYSTEM)
605
+ ament_export_libraries(${PROJECT_NAME} ${CMAKE_DL_LIBS})
606
+endif()
607
608
# Export modern CMake targets
609
ament_export_targets(${PROJECT_NAME})
0 commit comments