Fix CMake formatting

This commit is contained in:
Chris Thrasher 2023-07-22 09:24:26 -06:00
parent 79cd91124a
commit bdf676aec1
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ endfunction()
# This little macro lets you set any Xcode specific property
macro(sfml_set_xcode_property TARGET XCODE_PROPERTY XCODE_VALUE)
set_property (TARGET ${TARGET} PROPERTY XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE})
set_property(TARGET ${TARGET} PROPERTY XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE})
endmacro()
# set the appropriate standard library on each platform for the given target

View File

@ -286,7 +286,7 @@ target_include_directories(sfml-window SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/ext
# When static linking on macOS, we need to add this flag for objective C to work
# https://developer.apple.com/library/archive/qa/qa1490/_index.html
if ((NOT BUILD_SHARED_LIBS) AND SFML_OS_MACOS)
if((NOT BUILD_SHARED_LIBS) AND SFML_OS_MACOS)
target_link_libraries(sfml-window PRIVATE -ObjC)
endif()