--- octovis/CMakeLists_src.txt.orig 2026-09-18 18:05:41 UTC +++ octovis/CMakeLists_src.txt @@ -122,7 +122,7 @@ if (CMAKE_PROJECT_NAME STREQUAL "octomap-distribution" # directly depend on the octomap library target when building the # complete distribution, so it is recompiled as needed if (CMAKE_PROJECT_NAME STREQUAL "octomap-distribution") - ADD_DEPENDENCIES(octovis-static octomap-static) + #ADD_DEPENDENCIES(octovis-static octomap-static) ADD_DEPENDENCIES(octovis-shared octomap) endif() @@ -148,10 +148,10 @@ endif() file(MAKE_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cmake/octovis") endif() -export(TARGETS octovis octovis-static octovis-shared +export(TARGETS octovis octovis-shared FILE "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cmake/octovis/octovis-targets.cmake") -install(TARGETS octovis octovis-static octovis-shared +install(TARGETS octovis octovis-shared EXPORT octovis-targets INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" ${INSTALL_TARGETS_DEFAULT_ARGS}