From 03bde5c24467ccc14c4b7f63e16cd02423cd000c Mon Sep 17 00:00:00 2001 From: pappeste Date: Mon, 10 May 2021 15:05:17 -0700 Subject: [PATCH] getting CMakeTestbed to build again --- CMakeLists.txt | 4 +--- cmake/install/engine.json.in | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5185127d8..78667a7161 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,14 +34,12 @@ if(NOT PROJECT_NAME) LANGUAGES C CXX VERSION ${LY_VERSION_STRING} ) - - # o3de manifest - include(cmake/o3de_manifest.cmake) endif() ################################################################################ # Resolve this engines name and restricted path ################################################################################ +include(cmake/o3de_manifest.cmake) o3de_engine_name(${o3de_engine_json} o3de_engine_name) o3de_restricted_path(${o3de_engine_json} o3de_engine_restricted_path) message(STATUS "O3DE Engine Name: ${o3de_engine_name}") diff --git a/cmake/install/engine.json.in b/cmake/install/engine.json.in index 9899b169ed..04ee6348d3 100644 --- a/cmake/install/engine.json.in +++ b/cmake/install/engine.json.in @@ -1,5 +1,6 @@ { "engine_name": "@LY_VERSION_ENGINE_NAME@", + "restricted": "@LY_VERSION_ENGINE_NAME@", "FileVersion": 1, "O3DEVersion": "@LY_VERSION_STRING@", "O3DECopyrightYear": @LY_VERSION_COPYRIGHT_YEAR@,