mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-09-08 18:16:25 -05:00
build: Link SDL3 earlier (#1982)
Hacky workaround for a problem where wxWidgets uses SDL2 and Cemu uses SDL3. See #1982
This commit is contained in:
@@ -211,6 +211,10 @@ set_target_properties(CemuBin PROPERTIES
|
||||
OUTPUT_NAME "${OUTPUT_NAME}"
|
||||
)
|
||||
|
||||
if(ENABLE_SDL)
|
||||
target_link_libraries(CemuBin PRIVATE SDL3::SDL3)
|
||||
endif()
|
||||
|
||||
target_link_libraries(CemuBin PRIVATE
|
||||
CemuAudio
|
||||
CemuCafe
|
||||
@@ -222,10 +226,6 @@ target_link_libraries(CemuBin PRIVATE
|
||||
CemuUtil
|
||||
)
|
||||
|
||||
if(ENABLE_SDL)
|
||||
target_link_libraries(CemuBin PRIVATE SDL3::SDL3)
|
||||
endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
# due to nasm output some linkers will make stack executable
|
||||
# cemu does not require this so we explicity disable it
|
||||
|
||||
Reference in New Issue
Block a user