mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
* BugFix: Correct the inability to build on MacOS due to differing target names on MacOS.
This commit is contained in:
parent
ae02725e96
commit
ba7082bea1
1 changed files with 7 additions and 1 deletions
|
|
@ -984,5 +984,11 @@ if(TORQUE_SFX_OPENAL AND WIN32)
|
|||
endif()
|
||||
|
||||
if(TORQUE_SDL)
|
||||
set_target_properties(SDL2 PROPERTIES FOLDER ${TORQUE_LIBS_FOLDER_NAME})
|
||||
# Apple config has slightly different target names
|
||||
if (APPLE)
|
||||
set_target_properties(SDL2main PROPERTIES FOLDER ${TORQUE_LIBS_FOLDER_NAME})
|
||||
set_target_properties(SDL2-static PROPERTIES FOLDER ${TORQUE_LIBS_FOLDER_NAME})
|
||||
else()
|
||||
set_target_properties(SDL2 PROPERTIES FOLDER ${TORQUE_LIBS_FOLDER_NAME})
|
||||
endif()
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue