mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
fix mac compile
This commit is contained in:
parent
1194f7f49d
commit
db3e7984ad
|
|
@ -47,7 +47,7 @@ if (APPLE)
|
|||
addFramework("IOKit")
|
||||
#grrr damn you sdl!
|
||||
addFramework("Carbon")
|
||||
addLib("iconv")
|
||||
set(TORQUE_LINK_LIBRARIES ${TORQUE_LINK_LIBRARIES} iconv)
|
||||
if(NOT TORQUE_DEDICATED)
|
||||
addFramework("OpenGL")
|
||||
addFramework("CoreVideo")
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ set(TORQUE_COMPILE_DEFINITIONS ICE_NO_DLL PCRE_STATIC TORQUE_ADVANCED_LIGHTING T
|
|||
set(TORQUE_LINK_LIBRARIES tinyxml collada ljpeg squish png_static opcode assimp
|
||||
SDL2 glad pcre convexDecomp zlib)
|
||||
|
||||
if(NOT WIN32)
|
||||
set(WIN32 OFF CACHE Bool "" FORCE)
|
||||
endif()
|
||||
mark_as_advanced(WIN32)
|
||||
|
||||
#general
|
||||
advanced_option(TORQUE_MULTITHREAD "Multi Threading" ON)
|
||||
advanced_option(TORQUE_DISABLE_MEMORY_MANAGER "Disable memory manager" ON)
|
||||
|
|
|
|||
Loading…
Reference in a new issue