1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-08-15 20:05:44 +02:00
gbe_fork/cmake/share/cmake-3.30/Modules/Compiler/GNU-OBJC.cmake
2024-08-19 00:34:28 +02:00

12 lines
390 B
CMake

include(Compiler/GNU)
__compiler_gnu(OBJC)
__compiler_gnu_c_standards(OBJC)
if((NOT DEFINED CMAKE_DEPENDS_USE_COMPILER OR CMAKE_DEPENDS_USE_COMPILER)
AND CMAKE_GENERATOR MATCHES "Makefiles|WMake"
AND CMAKE_DEPFILE_FLAGS_OBJC)
# dependencies are computed by the compiler itself
set(CMAKE_OBJC_DEPFILE_FORMAT gcc)
set(CMAKE_OBJC_DEPENDS_USE_COMPILER TRUE)
endif()