mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- fix autoseg registration by moving start/end files back to src directory
Link order was wrong when building via Xcode project because CMake generator sorts files by paths This made most of classes missing from corresponding segments, and the game crashes right after launch
This commit is contained in:
parent
a56177f178
commit
d29c6a55eb
3 changed files with 2 additions and 2 deletions
|
@ -1188,7 +1188,7 @@ endif()
|
|||
add_executable( zdoom WIN32 MACOSX_BUNDLE
|
||||
${HEADER_FILES}
|
||||
${NOT_COMPILED_SOURCE_FILES}
|
||||
common/objects/__autostart.cpp
|
||||
__autostart.cpp
|
||||
${SYSTEM_SOURCES}
|
||||
${FASTMATH_SOURCES}
|
||||
${PCH_SOURCES}
|
||||
|
@ -1214,7 +1214,7 @@ add_executable( zdoom WIN32 MACOSX_BUNDLE
|
|||
common/thirdparty/math/tan.c
|
||||
common/thirdparty/math/tanh.c
|
||||
common/thirdparty/math/fastsin.cpp
|
||||
common/objects/zzautozend.cpp
|
||||
zzautozend.cpp
|
||||
)
|
||||
|
||||
set_source_files_properties( ${FASTMATH_SOURCES} PROPERTIES COMPILE_FLAGS ${ZD_FASTMATH_FLAG} )
|
||||
|
|
Loading…
Reference in a new issue