1
0
mirror of synced 2024-11-12 10:10:53 +01:00

build: Updated nfd-extended to prevent linking of macOS 11 framework

This commit is contained in:
WerWolv 2022-08-06 14:33:23 +02:00
parent b2b753c2b3
commit 7d93c54444
2 changed files with 1 additions and 2 deletions

@ -1 +1 @@
Subproject commit 33115928184cc3cc1b945a0f94bbc574d137224c
Subproject commit 89a67f8a55577c86d7103001d58d098f9e7027a9

View File

@ -14,7 +14,6 @@ set(NFD_PORTAL ON CACHE BOOL "Use Portals for Linux file dialogs" FORCE)
set(NFD_USE_ALLOWEDCONTENTTYPES OFF CACHE BOOL "Disable allowedContentTypes for macOS file dialogs" FORCE)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../external/nativefiledialog ${CMAKE_CURRENT_BINARY_DIR}/external/nativefiledialog EXCLUDE_FROM_ALL)
set_target_properties(nfd PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_compile_definitions(nfd PUBLIC NFD_MACOS_ALLOWEDCONTENTTYPES=0)
set(LIBROMFS_RESOURCE_LOCATION ${IMHEX_BASE_FOLDER}/resources/romfs)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../external/libromfs ${CMAKE_CURRENT_BINARY_DIR}/external/libromfs EXCLUDE_FROM_ALL)