|
|
|
|
@ -3,11 +3,11 @@
|
|
|
|
|
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
|
|
|
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
|
|
|
|
endif()
|
|
|
|
|
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
|
|
|
|
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
|
|
|
|
if(CMAKE_VERSION VERSION_LESS "2.8.12")
|
|
|
|
|
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
|
|
|
|
endif()
|
|
|
|
|
cmake_policy(PUSH)
|
|
|
|
|
cmake_policy(VERSION 2.8.3...3.26)
|
|
|
|
|
cmake_policy(VERSION 2.8.12...3.28)
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
# Generated CMake target import file.
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
@ -61,14 +61,10 @@ add_library(rqt_demo_plugin::rqt_demo_plugin SHARED IMPORTED)
|
|
|
|
|
set_target_properties(rqt_demo_plugin::rqt_demo_plugin PROPERTIES
|
|
|
|
|
INTERFACE_COMPILE_DEFINITIONS "QT_CORE_LIB;QT_WIDGETS_LIB;QT_GUI_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_QUICK_LIB;QT_QMLMODELS_LIB"
|
|
|
|
|
INTERFACE_COMPILE_FEATURES "c_std_99;cxx_std_17"
|
|
|
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++;/usr/include/x86_64-linux-gnu/qt5/QtWidgets;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/include/x86_64-linux-gnu/qt5/QtQml;/usr/include/x86_64-linux-gnu/qt5/QtNetwork;/usr/include/x86_64-linux-gnu/qt5/QtQuick;/usr/include/x86_64-linux-gnu/qt5/QtQmlModels"
|
|
|
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;/usr/include/qt5/;/usr/include/qt5/QtCore;/usr/lib64/qt5//mkspecs/linux-g++;/usr/include/qt5/QtWidgets;/usr/include/qt5/QtGui;/usr/include/qt5/QtQml;/usr/include/qt5/QtNetwork;/usr/include/qt5/QtQuick;/usr/include/qt5/QtQmlModels"
|
|
|
|
|
INTERFACE_LINK_LIBRARIES "rclcpp::rclcpp;pluginlib::pluginlib;rqt_gui_cpp::rqt_gui_cpp;qt_gui_cpp::qt_gui_cpp;Qt5::Core;Qt5::Widgets;Qt5::Qml;Qt5::Quick"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
|
|
|
|
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
# Load information for each installed configuration.
|
|
|
|
|
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/export_rqt_demo_pluginExport-*.cmake")
|
|
|
|
|
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
|
|
|
|
@ -82,9 +78,12 @@ set(_IMPORT_PREFIX)
|
|
|
|
|
|
|
|
|
|
# Loop over all imported files and verify that they actually exist
|
|
|
|
|
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
|
|
|
|
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
|
|
|
if(NOT EXISTS "${_cmake_file}")
|
|
|
|
|
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
|
|
|
if(CMAKE_VERSION VERSION_LESS "3.28"
|
|
|
|
|
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
|
|
|
|
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
|
|
|
|
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
|
|
|
if(NOT EXISTS "${_cmake_file}")
|
|
|
|
|
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
|
|
|
\"${_cmake_file}\"
|
|
|
|
|
but this file does not exist. Possible reasons include:
|
|
|
|
|
* The file was deleted, renamed, or moved to another location.
|
|
|
|
|
@ -93,8 +92,9 @@ but this file does not exist. Possible reasons include:
|
|
|
|
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
|
|
|
|
but not all the files it references.
|
|
|
|
|
")
|
|
|
|
|
endif()
|
|
|
|
|
endforeach()
|
|
|
|
|
endif()
|
|
|
|
|
endforeach()
|
|
|
|
|
endif()
|
|
|
|
|
unset(_cmake_file)
|
|
|
|
|
unset("_cmake_import_check_files_for_${_cmake_target}")
|
|
|
|
|
endforeach()
|
|
|
|
|
|