diff --git a/CMakeLists.txt b/CMakeLists.txt
index c65f41609e2d91f45a8f2169556e9c0316ec913c..36358dbcf9c3afa86906068b796d433f035fc95d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,8 @@ else()
     set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fsanitize=address")
 endif()
 
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
+
 ### Dependences
 
 find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)