mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
* Config: Using cmake targets * fixed RTABMAP_DEPRECATED build error * fixed melodic build * cleanup * Fixed qhull exported library error * Update svg depend private * removed g2o from public interface * Fixed Windows with external project * removed some required dep * Fixed nsis error (also fixed unspecified components) * updated workflow rules
16 lines
431 B
CMake
16 lines
431 B
CMake
|
|
IF(MINGW)
|
|
ADD_EXECUTABLE(databaseViewer WIN32 main.cpp)
|
|
ELSE()
|
|
ADD_EXECUTABLE(databaseViewer main.cpp)
|
|
ENDIF()
|
|
|
|
TARGET_LINK_LIBRARIES(databaseViewer rtabmap_gui)
|
|
|
|
SET_TARGET_PROPERTIES( databaseViewer
|
|
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-databaseViewer)
|
|
|
|
INSTALL(TARGETS databaseViewer
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT runtime
|
|
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime)
|