mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2024-11-26 21:50:25 +00:00
Merge https://github.com/gnustep/libobjc2 into HEAD
This commit is contained in:
commit
2def22809b
@ -178,13 +178,14 @@ if (${CMAKE_C_COMPILER_ID} MATCHES Clang*)
|
||||
if (${CMAKE_C_COMPILER_VERSION} VERSION_GREATER 3.1)
|
||||
set(CMAKE_OBJC_FLAGS "${CMAKE_OBJC_FLAGS} -fobjc-runtime=gnustep-1.7")
|
||||
endif ()
|
||||
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i586")
|
||||
endif ()
|
||||
else (${CMAKE_C_COMPILER_ID} MATCHES Clang*)
|
||||
MESSAGE("WARNING: It is strongly recommended that you compile with clang")
|
||||
endif (${CMAKE_C_COMPILER_ID} MATCHES Clang*)
|
||||
|
||||
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i586")
|
||||
endif ()
|
||||
|
||||
set(INSTALL_TARGETS objc)
|
||||
|
||||
set_source_files_properties(
|
||||
|
Loading…
Reference in New Issue
Block a user