Fix broken iOS build (#411)
This commit is contained in:
@@ -316,7 +316,7 @@ if (ANDROID)
|
||||
target_link_libraries(${TARGET} PUBLIC GLESv3 EGL android)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
if (APPLE AND NOT IOS)
|
||||
target_link_libraries(${TARGET} PRIVATE "-framework Cocoa")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ if (ANDROID)
|
||||
add_executable(filament_benchmark filament_benchmark.cpp)
|
||||
target_link_libraries(filament_benchmark PRIVATE utils filament)
|
||||
target_compile_options(filament_benchmark PRIVATE ${COMPILER_FLAGS})
|
||||
else()
|
||||
elseif(NOT IOS)
|
||||
# The following tests rely on private APIs that are stripped
|
||||
# away in Release builds
|
||||
if (TNT_DEV)
|
||||
|
||||
Reference in New Issue
Block a user