diff --git a/src/loader/CMakeLists.txt b/src/loader/CMakeLists.txt
index 8638bc6..bc60685 100644
--- a/src/loader/CMakeLists.txt
+++ b/src/loader/CMakeLists.txt
@@ -120,6 +120,7 @@ target_link_libraries(
     openxr_loader
     PRIVATE ${CMAKE_DL_LIBS}
     PUBLIC Threads::Threads
+    stdc++fs
 )
 target_compile_definitions(openxr_loader PRIVATE ${OPENXR_ALL_SUPPORTED_DEFINES})
 if(ANDROID)
