Install header files to include/${PROJECT_NAME} according to the package file exports.
authorKristóf Katus <kristof.katus@intra2net.com>
Tue, 30 Aug 2011 11:39:07 +0000 (13:39 +0200)
committerKristóf Katus <kristof.katus@intra2net.com>
Tue, 30 Aug 2011 11:39:07 +0000 (13:39 +0200)
codegen/Libt2n.cmake

index f547fe9..2e32276 100644 (file)
@@ -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
         )