CMakeLists.txt 684 B

1234567891011121314151617
  1. # Copyright (c) Contributors to the Open 3D Engine Project.
  2. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  3. #
  4. # SPDX-License-Identifier: Apache-2.0 OR MIT
  5. o3de_gem_setup("ROS2")
  6. list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/Code")
  7. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} PARENT_SCOPE)
  8. ly_add_external_target_path(${CMAKE_CURRENT_SOURCE_DIR}/3rdParty)
  9. # Include ROS2 target function here so that every Project with this Gem can make use of it
  10. # Currently only affects the Gem itself but this likely will change in the future
  11. include(${CMAKE_CURRENT_LIST_DIR}/Code/ros2_target_depends.cmake)
  12. add_subdirectory(Code)