Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/audio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ target_link_libraries(rexaudio
PUBLIC rexcore SDL3::SDL3
PRIVATE libavcodec libavutil
)

if(UNIX)
target_compile_options(rexaudio PRIVATE -mssse3)
endif()
3 changes: 3 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ if(REXGLUE_ENABLE_PERF_COUNTERS)
$<$<NOT:$<CONFIG:Release>>:REXGLUE_ENABLE_PERF_COUNTERS>)
endif()

if(UNIX)
target_compile_options(rexcore PRIVATE -mssse3)
endif()
3 changes: 3 additions & 0 deletions src/graphics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,6 @@ if(REXGLUE_USE_D3D12)
target_compile_definitions(rexgraphics PUBLIC REX_HAS_D3D12=1)
endif()

if(UNIX)
target_compile_options(rexgraphics PRIVATE -mssse3)
endif()