From 3721c85af3d64811e5257bf58e2866a84d348fe4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krist=C3=B3f=20Katus?= Date: Tue, 30 Aug 2011 13:39:07 +0200 Subject: [PATCH 1/1] Install header files to include/${PROJECT_NAME} according to the package file exports. --- codegen/Libt2n.cmake | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codegen/Libt2n.cmake b/codegen/Libt2n.cmake index f547fe9..2e32276 100644 --- a/codegen/Libt2n.cmake +++ b/codegen/Libt2n.cmake @@ -1,4 +1,4 @@ -# Version of this file: 1.3 +# Version of this file: 1.3.1 # Detect libt2n pkg_check_modules(LIBT2N REQUIRED libt2n) @@ -107,7 +107,7 @@ function(setup_libt2n) set_target_properties(${CMDGROUP}-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMDGROUP}_client.hxx ${CMDGROUP}.hxx - DESTINATION include + DESTINATION include/${PROJECT_NAME} COMPONENT headers ) -- 1.7.1