diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03ab4f86efd63c9df3ff6ad7a70d76fcc0f0aa7f..db44d18025e764dae7a2fbd0c206c4e269154c93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ SET(PROJECT_DESCRIPTION
 
 SET(CUSTOM_HEADER_DIR "hpp/bezier-com-traj")
 
-SETUP_PROJECT()
+SETUP_HPP_PROJECT()
 
 # Inhibit all warning messages.
 #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")