mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[build] ci: fix platform build regressions
Correct the clean IDD MsQuic archive lookup and enable XSAVE for MinGW CPU probing. Compile audio transports with precise floating-point semantics so finite-value validation remains valid under Clang. Install the OBS samplerate development dependency.
This commit is contained in:
@@ -17,6 +17,16 @@ endif()
|
||||
|
||||
if(ENABLE_AUDIO)
|
||||
list(APPEND TRANSPORT_LGMP_SOURCES audio.c)
|
||||
|
||||
if(MSVC)
|
||||
set_source_files_properties(audio.c PROPERTIES
|
||||
COMPILE_OPTIONS "/fp:precise"
|
||||
)
|
||||
elseif(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
|
||||
set_source_files_properties(audio.c PROPERTIES
|
||||
COMPILE_OPTIONS "-fno-fast-math"
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(transport_LGMP STATIC ${TRANSPORT_LGMP_SOURCES})
|
||||
|
||||
@@ -20,6 +20,16 @@ set(TRANSPORT_NETWORK_SOURCES
|
||||
video/pyrowave.c
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
set_source_files_properties(audio.c PROPERTIES
|
||||
COMPILE_OPTIONS "/fp:precise"
|
||||
)
|
||||
elseif(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
|
||||
set_source_files_properties(audio.c PROPERTIES
|
||||
COMPILE_OPTIONS "-fno-fast-math"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND TRANSPORT_NETWORK_SOURCES
|
||||
platform/windows/auth_crypto.c
|
||||
|
||||
Reference in New Issue
Block a user