Skip to content

Commit

Permalink
Simplify TV definition
Browse files Browse the repository at this point in the history
  • Loading branch information
douglowder committed Oct 5, 2024
1 parent ebe4821 commit 47c75b1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ if(HERMES_APPLE_TARGET_PLATFORM MATCHES "catalyst")
set(THREADS_PREFER_PTHREAD_FLAG ON)
endif()

if(HERMES_APPLE_TARGET_PLATFORM MATCHES "appletvos")
add_definitions(-DTARGET_OS_TV=1)
endif()

if(HERMES_APPLE_TARGET_PLATFORM MATCHES "appletvsimulator")
if(HERMES_APPLE_TARGET_PLATFORM MATCHES "appletv")
add_definitions(-DTARGET_OS_TV=1)
endif()

Expand Down

0 comments on commit 47c75b1

Please sign in to comment.