diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index 0e0bf4a..8646e9f 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -19,6 +19,7 @@ add_executable(QCodeEditorExample
 
 target_include_directories(QCodeEditorExample PUBLIC
     include
+    /usr/include/QCodeEditor/
 )
 
 target_link_libraries(QCodeEditorExample
