ladybird/Userland/Applications/3DFileViewer/CMakeLists.txt
Timothy 1c78ff1b9f 3DFileViewer: Use unveil and FileSystemAccessServer
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.
2021-09-09 02:34:29 +02:00

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)