mirror of
https://github.com/taglib/taglib.git
synced 2025-07-20 05:54:20 -04:00
Define only least required macros for LFS in config.h.
This commit is contained in:
@ -8,6 +8,7 @@ include(CheckCXXCompilerFlag)
|
||||
include(CheckCXXSourceCompiles)
|
||||
include(TestBigEndian)
|
||||
include(TestFloatFormat)
|
||||
include(TestLargeFiles)
|
||||
|
||||
# Determine whether your compiler supports C++0x/C++11 and enable it if possible.
|
||||
# This check covers GCC, Clang and ICC.
|
||||
@ -76,6 +77,15 @@ else()
|
||||
MESSAGE(FATAL_ERROR "TagLib requires that floating point types are IEEE754 compliant.")
|
||||
endif()
|
||||
|
||||
# Determine whether your compiler supports large files.
|
||||
|
||||
if(NOT WIN32)
|
||||
test_large_files(SUPPORT_LARGE_FILES)
|
||||
if(NOT SUPPORT_LARGE_FILES)
|
||||
MESSAGE(FATAL_ERROR "TagLib requires large files support.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Determine which kind of atomic operations your compiler supports.
|
||||
|
||||
check_cxx_source_compiles("
|
||||
|
Reference in New Issue
Block a user