mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Merge pull request #447 from Jozor/cmake_directory_fix
Cmake allow non-source project directory
This commit is contained in:
commit
9ba1ca3d22
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ if(NOT TORQUE_TEMPLATE)
|
||||||
set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use")
|
set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use")
|
||||||
endif()
|
endif()
|
||||||
if(NOT TORQUE_APP_DIR)
|
if(NOT TORQUE_APP_DIR)
|
||||||
set(TORQUE_APP_DIR "${CMAKE_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}")
|
set(TORQUE_APP_DIR "${CMAKE_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}" CACHE STRING "final installation location")
|
||||||
endif()
|
endif()
|
||||||
if(NOT projectOutDir)
|
if(NOT projectOutDir)
|
||||||
set(projectOutDir "${TORQUE_APP_DIR}/game")
|
set(projectOutDir "${TORQUE_APP_DIR}/game")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue