From e5fe881640844db2eea48f36cee7a905f5937b8a Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 8 Jul 2011 13:45:56 +0200 Subject: [PATCH] cmake: Fix install location of header files. Based upon patch by Uwe Bonnes --- ftdipp/CMakeLists.txt | 4 ++-- src/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt index 8423b2e..2f6a7b0 100644 --- a/ftdipp/CMakeLists.txt +++ b/ftdipp/CMakeLists.txt @@ -52,7 +52,7 @@ if (FTDIPP) ) install( FILES ${cpp_headers} - DESTINATION include/${PROJECT_NAME} + DESTINATION include COMPONENT headers ) @@ -71,7 +71,7 @@ if (FTDIPP) ) install( FILES ${cpp_headers} - DESTINATION include/${PROJECT_NAME} + DESTINATION include COMPONENT headers ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0e12e54..4590c58 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,7 +37,7 @@ if(${UNIX}) ) install( FILES ${c_headers} - DESTINATION include/${PROJECT_NAME} + DESTINATION include COMPONENT headers ) @@ -56,7 +56,7 @@ if(${WIN32}) ) install( FILES ${c_headers} - DESTINATION include/${PROJECT_NAME} + DESTINATION include COMPONENT headers ) -- 1.7.1