Skip to content

Commit

Permalink
Merge pull request #1554 from johnpanos/fix/cmake-3.31.0
Browse files Browse the repository at this point in the history
Disable dependency file generation
  • Loading branch information
CuriousTommy authored Nov 13, 2024
2 parents e89a1b9 + 8588308 commit d210844
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit d210844

Please sign in to comment.