mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #1366 from Azaezel/install_injection
overrides the default CMAKE_INSTALL_PREFIX
This commit is contained in:
commit
311d6bd81f
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ cmake_minimum_required (VERSION 2.8.12)
|
||||||
|
|
||||||
set(TORQUE_APP_NAME "" CACHE STRING "the app name")
|
set(TORQUE_APP_NAME "" CACHE STRING "the app name")
|
||||||
|
|
||||||
|
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/temp" CACHE PATH "default install path" FORCE )
|
||||||
|
|
||||||
if("${TORQUE_APP_NAME}" STREQUAL "")
|
if("${TORQUE_APP_NAME}" STREQUAL "")
|
||||||
message(FATAL_ERROR "Please set TORQUE_APP_NAME first")
|
message(FATAL_ERROR "Please set TORQUE_APP_NAME first")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue