mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #1366 from Azaezel/install_injection
overrides the default CMAKE_INSTALL_PREFIX
This commit is contained in:
commit
311d6bd81f
|
|
@ -2,6 +2,8 @@ cmake_minimum_required (VERSION 2.8.12)
|
|||
|
||||
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 "")
|
||||
message(FATAL_ERROR "Please set TORQUE_APP_NAME first")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue