mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 19:24:31 +00:00
Add option to not use file I/O in libFLAC.
This commit is contained in:
2
3rdparty/flac
vendored
2
3rdparty/flac
vendored
Submodule 3rdparty/flac updated: 7d55296b5b...a01948c29a
1
3rdparty/flac.cmake
vendored
1
3rdparty/flac.cmake
vendored
@@ -154,6 +154,7 @@ target_sources("Aaru.Compression.Native" PRIVATE
|
||||
$<$<BOOL:${OGG_FOUND}>:ogg_mapping.c>)
|
||||
|
||||
target_compile_definitions("Aaru.Compression.Native" PUBLIC FLAC__NO_DLL)
|
||||
target_compile_definitions("Aaru.Compression.Native" PUBLIC FLAC__NO_FILEIO)
|
||||
|
||||
# Disable fortify source when not-release or when cross-building with MingW for WoA
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug OR CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo OR "${CMAKE_C_PLATFORM_ID}" MATCHES "MinGW")
|
||||
|
||||
Reference in New Issue
Block a user