From fe9dc1e25b014aa246029e53b4abe683996d648d Mon Sep 17 00:00:00 2001 From: Joseph Date: Sun, 10 Jan 2021 21:48:46 +0000 Subject: [PATCH] Help from Az finally gave the correct answer to the problem I was trying to address originally, so really this fix is from Az. Exposes the directory for where your game files go in cmake without having to go to Advanced tab. --- Tools/CMake/basics.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/CMake/basics.cmake b/Tools/CMake/basics.cmake index 30c2e428d..952826d97 100644 --- a/Tools/CMake/basics.cmake +++ b/Tools/CMake/basics.cmake @@ -32,7 +32,7 @@ if(NOT TORQUE_TEMPLATE) set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use") endif() if(NOT TORQUE_APP_DIR) - set(TORQUE_APP_DIR "${CMAKE_BINARY_DIR}") + set(TORQUE_APP_DIR "${CMAKE_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}" CACHE STRING "final installation location") endif() if(NOT projectOutDir) set(projectOutDir "${TORQUE_APP_DIR}/game")