mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Fix compiler warnings with CMAKE and TORQUE_DISABLE_MEMORY_MANAGER.
This commit is contained in:
parent
929f6cf371
commit
b18bcfb709
1 changed files with 3 additions and 8 deletions
|
|
@ -339,10 +339,6 @@ if(TORQUE_HYDRA)
|
||||||
include( "modules/module_hydra.cmake" )
|
include( "modules/module_hydra.cmake" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(TORQUE_DISABLE_MEMORY_MANAGER)
|
|
||||||
addDef(TORQUE_DISABLE_MEMORY_MANAGER)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(TORQUE_DEDICATED)
|
if(TORQUE_DEDICATED)
|
||||||
addDef(TORQUE_DEDICATED)
|
addDef(TORQUE_DEDICATED)
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -456,11 +452,10 @@ finishExecutable()
|
||||||
###############################################################################
|
###############################################################################
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
message(STATUS "writing ${projectSrcDir}/torqueConfig.h")
|
||||||
|
CONFIGURE_FILE("${cmakeDir}/torqueConfig.h.in" "${projectSrcDir}/torqueConfig.h")
|
||||||
|
|
||||||
# configure the relevant files only once
|
# configure the relevant files only once
|
||||||
if(NOT EXISTS "${projectSrcDir}/torqueConfig.h")
|
|
||||||
message(STATUS "writing ${projectSrcDir}/torqueConfig.h")
|
|
||||||
CONFIGURE_FILE("${cmakeDir}/torqueConfig.h.in" "${projectSrcDir}/torqueConfig.h")
|
|
||||||
endif()
|
|
||||||
if(NOT EXISTS "${projectSrcDir}/torque.ico")
|
if(NOT EXISTS "${projectSrcDir}/torque.ico")
|
||||||
CONFIGURE_FILE("${cmakeDir}/torque.ico" "${projectSrcDir}/torque.ico" COPYONLY)
|
CONFIGURE_FILE("${cmakeDir}/torque.ico" "${projectSrcDir}/torque.ico" COPYONLY)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue