--- CMakeLists.txt.orig	2019-08-24 23:47:04 UTC
+++ CMakeLists.txt
@@ -228,7 +228,7 @@ install(TARGETS hpipm EXPORT hpipmConfig
 	ARCHIVE DESTINATION lib
 	RUNTIME DESTINATION bin)
 
-install(EXPORT hpipmConfig DESTINATION cmake)
+install(EXPORT hpipmConfig DESTINATION lib/cmake/hpipm)
 
 file(GLOB_RECURSE HPIPM_HEADERS "include/*.h")
 install(FILES ${HPIPM_HEADERS} DESTINATION ${HPIPM_HEADERS_INSTALLATION_DIRECTORY})
