mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 11:14:30 +00:00
Disable lzma affinity when compiling against musl.
This commit is contained in:
4
3rdparty/lzma.cmake
vendored
4
3rdparty/lzma.cmake
vendored
@@ -32,6 +32,10 @@ if("${CMAKE_C_COMPILER_ID}" MATCHES "AppleClang" OR "${CMAKE_C_COMPILER_ID}" MAT
|
||||
target_compile_definitions("Aaru.Compression.Native" PUBLIC USE_CLANG)
|
||||
endif()
|
||||
|
||||
if(DEFINED AARU_MUSL)
|
||||
target_compile_definitions("Aaru.Compression.Native" PUBLIC Z7_AFFINITY_DISABLE)
|
||||
endif()
|
||||
|
||||
#target_compile_options(lzma PUBLIC -Wall)
|
||||
#target_compile_options(lzma PUBLIC -Werror)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user