build: Updated nfd-extended to prevent linking of macOS 11 framework
This commit is contained in:
parent
b2b753c2b3
commit
7d93c54444
2
lib/external/nativefiledialog
vendored
2
lib/external/nativefiledialog
vendored
@ -1 +1 @@
|
||||
Subproject commit 33115928184cc3cc1b945a0f94bbc574d137224c
|
||||
Subproject commit 89a67f8a55577c86d7103001d58d098f9e7027a9
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user