diff --git a/3rd_party/xdg/CMakeLists.txt b/3rd_party/xdg/CMakeLists.txt
index 96f55ad..acbb7e9 100644
--- a/3rd_party/xdg/CMakeLists.txt
+++ b/3rd_party/xdg/CMakeLists.txt
@@ -9,7 +9,7 @@ include_directories(
     ${Boost_INCLUDE_DIRS}
 )

-add_library(xdg xdg.cpp)
+add_library(xdg STATIC xdg.cpp)
 set_property(TARGET xdg PROPERTY CXX_STANDARD 11)
 target_link_libraries(xdg ${Boost_LIBRARIES})
