mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
overrides the default CMAKE_INSTALL_PREFIX
it was causing sdl2 INSTALL to attempt to output to C:/Program Files (x86)/<projectName>/lib windows side, and /usr/local/lib on linux
This commit is contained in:
parent
db532c0e1a
commit
aa0793de47
|
|
@ -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…
Reference in a new issue