mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
use CMAKE_AUTOUIC, CMAKE_AUTOMOC and CMAKE_AUTORCC (#1135)
This commit is contained in:
@@ -15,12 +15,8 @@ if(NOT internal)
|
||||
FIND_PACKAGE(RTABMap REQUIRED)
|
||||
endif()
|
||||
|
||||
IF(QT4_FOUND)
|
||||
QT4_WRAP_CPP(moc_srcs MapBuilder.h MapBuilderWifi.h)
|
||||
ELSEIF(Qt5_FOUND)
|
||||
QT5_WRAP_CPP(moc_srcs MapBuilder.h MapBuilderWifi.h)
|
||||
ELSE()
|
||||
QT6_WRAP_CPP(moc_srcs MapBuilder.h MapBuilderWifi.h)
|
||||
IF(QT4_FOUND OR Qt5_FOUND OR Qt6_FOUND)
|
||||
SET(moc_srcs MapBuilder.h MapBuilderWifi.h)
|
||||
ENDIF()
|
||||
|
||||
SET(srcs
|
||||
|
||||
Reference in New Issue
Block a user