From: Kristóf Katus Date: Tue, 30 Aug 2011 11:39:07 +0000 (+0200) Subject: Install header files to include/${PROJECT_NAME} according to the package file exports. X-Git-Tag: latest_release~12 X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=commitdiff_plain;h=3721c85af3d64811e5257bf58e2866a84d348fe4;hp=34721cc426d4664e002391ac8e7bd96215cd278f Install header files to include/${PROJECT_NAME} according to the package file exports. --- 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 )