diff --git a/CMakeLists.txt b/CMakeLists.txt
index 640df586c62e4d28d143694bae12179499054897..c25df52a77a6181e5ea4e3151fdda113206bd054 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,4 +13,4 @@ add_executable(
     src/main.c
 )
 
-target_link_libraries(main pico_stdlib hardware_i2c)
\ No newline at end of file
+target_link_libraries(main pico_stdlib hardware_i2c hardware_pwm)
\ No newline at end of file