Files
rtabmap/tools/Report/CMakeLists.txt
T

23 lines
561 B
CMake
Raw Normal View History

set(LIBRARIES rtabmap_core)
IF(WITH_QT AND (QT4_FOUND OR Qt5_FOUND OR Qt6_FOUND))
2026-08-06 13:32:20 -07:00
set(LIBRARIES ${LIBRARIES} rtabmap_gui)
ENDIF()
2020-04-09 11:00:42 -04:00
ADD_EXECUTABLE(report main.cpp)
2026-08-06 13:32:20 -07:00
TARGET_LINK_LIBRARIES(report ${LIBRARIES})
2026-06-26 09:29:10 -07:00
SET_TARGET_PROPERTIES(report PROPERTIES
2026-08-06 13:32:20 -07:00
OUTPUT_NAME ${PROJECT_PREFIX}-report
)
2026-06-26 09:29:10 -07:00
IF(WITH_QT AND (QT4_FOUND OR Qt5_FOUND OR Qt6_FOUND))
2026-08-06 13:32:20 -07:00
target_compile_definitions(report PRIVATE WITH_QT)
ENDIF()
2018-02-01 22:17:46 -05:00
INSTALL(TARGETS report
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT runtime
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime)