Vita3K/vita3k/host/dialog/CMakeLists.txt
hobyst 3b74ceb5d9 host, gui: Abstract file browser window calls
This commit creates the first library of the host OS abstraction
layer to access native OS dialogs using a more flexible C++ API
and implements file browser dialogs using nativefiledialog-extended
so that XDG desktop portals can be used to spawn these dialogs
in Linux.
2022-08-31 19:48:44 -03:00

11 lines
296 B
CMake

add_library(host_dialog STATIC
src/filesystem.cpp
)
# Create alias for more friendly naming and avoid conflicts
# in global CMake scope
add_library(host::dialog ALIAS host_dialog)
target_include_directories(host_dialog PUBLIC include)
target_link_libraries(host_dialog PRIVATE NFDe::NFDe)