Merge pull request #1554 from johnpanos/fix/cmake-3.31.0
Some checks failed
Darling CI / build-deb (push) Has been cancelled
Darling CI / build-dsc (push) Has been cancelled

Disable dependency file generation
This commit is contained in:
CuriousTommy 2024-11-13 15:20:09 -08:00 committed by GitHub
commit d210844795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,21 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(mig)
include(pyc)
# Force linker settings to match 3.30.5 behavior
# Apple's ld64 in cctools does not support the `--dependency-file` flag
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED FALSE)
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED FALSE)
set(CMAKE_CXX_LINK_DEPENDS_USE_LINKER FALSE)
set(CMAKE_C_LINK_DEPENDS_USE_LINKER FALSE)
set(CMAKE_CXX_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED FALSE)
set(CMAKE_C_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED FALSE)
set(CMAKE_CXX_LINKER_INFORMATION_LOADED FALSE)
set(CMAKE_C_LINKER_INFORMATION_LOADED FALSE)
set(CMAKE_CXX_USE_LINKER_INFORMATION FALSE)
set(CMAKE_C_USE_LINKER_INFORMATION FALSE)
#
# start core components
#