CMakeLists.txt 641 B

1234567891011121314151617
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. set(gem_path ${CMAKE_CURRENT_LIST_DIR})
  9. set(gem_json ${gem_path}/gem.json)
  10. o3de_restricted_path(${gem_json} gem_restricted_path gem_parent_relative_path)
  11. o3de_pal_dir(pal_3rdparty_dir ${CMAKE_CURRENT_LIST_DIR}/3rdParty/Platform/${PAL_PLATFORM_NAME} "${gem_restricted_path}" "${gem_path}" "${gem_parent_relative_path}")
  12. include(${pal_3rdparty_dir}/BuiltInPackages_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
  13. add_subdirectory(Code)