Fix broken iOS build (#411)

This commit is contained in:
Ben Doherty
2018-10-19 12:51:53 -07:00
committed by GitHub
parent 9916af3ab1
commit 0754edbf9b
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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)