diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6120992f4251af0d2e851f5df2155fa729b51e4c..1a0d7de78590ef8ca16602b60bac1e0b30cf94f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -264,9 +264,12 @@ install(TARGETS spm
 
 install(FILES
   include/spm.h
+  DESTINATION include )
+
+install(FILES
   include/spm/const.h
   include/spm/datatypes.h
-  DESTINATION include )
+  DESTINATION include/spm )
 
 # Install generated headers
 # ---------------------