mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
25 lines
653 B
CMake
25 lines
653 B
CMake
# definition needed for boost/math/constants/constants.hpp included by Ogre to compile
|
|
add_definitions(-DBOOST_MATH_DISABLE_FLOAT128)
|
|
|
|
# Qt Stuff
|
|
if(rviz_QT_VERSION VERSION_LESS "5")
|
|
find_package(Qt4 ${rviz_QT_VERSION} REQUIRED QtCore QtGui)
|
|
include(${QT_USE_FILE})
|
|
macro(qt_wrap_ui)
|
|
qt4_wrap_ui(${ARGN})
|
|
endmacro()
|
|
else()
|
|
find_package(Qt5 ${rviz_QT_VERSION} REQUIRED Core Widgets)
|
|
set(QT_LIBRARIES Qt5::Widgets)
|
|
macro(qt_wrap_ui)
|
|
qt5_wrap_ui(${ARGN})
|
|
endmacro()
|
|
endif()
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
add_definitions(-DQT_NO_KEYWORDS)
|
|
|
|
add_subdirectory(visualization_tools)
|
|
add_subdirectory(motion_planning_tasks)
|