mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-11-23 04:09:46 +00:00
Adapt build to updated libc++
This commit is contained in:
parent
592b5c046a
commit
3b785d0878
@ -18,11 +18,11 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc -nostdinc++ -O2 -mmacosx-versi
|
||||
-fno-rtti -fno-exceptions -Wno-c++11-narrowing -fvisibility-inlines-hidden -fvisibility=hidden -Wno-invalid-offsetof -Wno-deprecated-objc-isa-usage \
|
||||
-Wno-cast-of-sel-type -Wstrict-aliasing=2 -Wstrict-overflow=4 -fstrict-aliasing")
|
||||
|
||||
add_definitions(-DOBJC_NO_GC) # For now (TODO)
|
||||
add_definitions(-DOBJC_NO_GC)
|
||||
add_definitions(-DTARGET_OS_IPHONE=0 -DOS_OBJECT_USE_OBJC=0)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/libcxx/include)
|
||||
include_directories(BEFORE ${CMAKE_SOURCE_DIR}/src/external/libcxx/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/libdispatch)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/foundation/Headers)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/libpthread/private)
|
||||
|
Loading…
Reference in New Issue
Block a user