mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-02 13:00:53 +00:00
enable hardened runtime
This commit is contained in:
parent
86803db3ac
commit
5b35f82907
@ -1,7 +1,7 @@
|
||||
add_executable(Voxelotl MACOSX_BUNDLE main.swift)
|
||||
target_link_libraries(Voxelotl PRIVATE SDLSwift)
|
||||
set_target_properties(Voxelotl PROPERTIES
|
||||
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME NO
|
||||
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES
|
||||
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "gay.pizza.voxelotl"
|
||||
XCODE_EMBED_FRAMEWORKS "${SDL3}"
|
||||
XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY YES
|
||||
@ -15,4 +15,5 @@ set_target_properties(Voxelotl PROPERTIES
|
||||
XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)"
|
||||
XCODE_GENERATE_SCHEME ON
|
||||
XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE "Metal"
|
||||
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/Voxelotl.entitlements"
|
||||
MACOSX_BUNDLE_COPYRIGHT "© 2024 Gay Pizza Specifications")
|
||||
|
8
Sources/Voxelotl/Voxelotl.entitlements
Normal file
8
Sources/Voxelotl/Voxelotl.entitlements
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue
Block a user