mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
1c78ff1b9f
This will restrict 3DFileViewer's access to the file system. 3DFileViewer loads a texture based on the path of the model loaded, this will request access to the texture file before loading.
15 lines
310 B
CMake
15 lines
310 B
CMake
serenity_component(
|
|
3DFileViewer
|
|
RECOMMENDED
|
|
TARGETS 3DFileViewer
|
|
DEPENDS FileSystemAccessServer
|
|
)
|
|
|
|
set(SOURCES
|
|
Mesh.cpp
|
|
WavefrontOBJLoader.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_app(3DFileViewer ICON app-3d-file-viewer)
|
|
target_link_libraries(3DFileViewer LibGUI LibGL LibFileSystemAccessClient)
|