Skip to content

Commit

Permalink
fix: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Aug 27, 2024
1 parent ee54bd8 commit 82a04a0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Apps/Playground/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ if(APPLE)
# So we need to make sure we override it with nothing here in order to compile Swift.
XCODE_ATTRIBUTE_OTHER_SWIFT_FLAGS "")

# Swift support
set(CMAKE_Swift_COMPILER_FORCED TRUE)
set(CMAKE_Swift_LANGUAGE_VERSION 4.0)
enable_language(Swift)
# Swift support
set(CMAKE_Swift_COMPILER_FORCED TRUE)
set(CMAKE_Swift_LANGUAGE_VERSION 4.0)
enable_language(Swift)
elseif(VISIONOS)
set_target_properties(Playground PROPERTIES
MACOSX_BUNDLE true
Expand All @@ -201,10 +201,10 @@ if(APPLE)
# So we need to make sure we override it with nothing here in order to compile Swift.
XCODE_ATTRIBUTE_OTHER_SWIFT_FLAGS "")

# Swift support
set(CMAKE_Swift_COMPILER_FORCED TRUE)
set(CMAKE_Swift_LANGUAGE_VERSION 5.0)
enable_language(Swift)
# Swift support
set(CMAKE_Swift_COMPILER_FORCED TRUE)
set(CMAKE_Swift_LANGUAGE_VERSION 5.0)
enable_language(Swift)
else()
target_link_libraries(Playground PUBLIC "-framework MetalKit")

Expand Down

0 comments on commit 82a04a0

Please # to comment.