We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfa308 commit f54b105Copy full SHA for f54b105
1 file changed
CMakeLists.txt
@@ -556,7 +556,10 @@ endif()
556
557
# Export old-style CMake variables
558
ament_export_include_directories("include/${PROJECT_NAME}")
559
-ament_export_libraries(${PROJECT_NAME} ${CMAKE_DL_LIBS})
+
560
+if(NOT RCUTILS_NO_FILESYSTEM)
561
+ ament_export_libraries(${PROJECT_NAME} ${CMAKE_DL_LIBS})
562
+endif()
563
564
# Export modern CMake targets
565
ament_export_targets(${PROJECT_NAME})
0 commit comments