From 6d431d7a28a84b0f723c4af6fdd3c64672aff86f Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Mon, 13 Aug 2012 17:24:52 +0800 Subject: [PATCH] cmake: in case build path is different config.h needs to be install separately. --- include/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index fce03ec18..aa5087487 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -34,3 +34,6 @@ install(DIRECTORY freerdp/server DESTINATION include/freerdp FILES_MATCHING PATT file(GLOB HEADERS "winpr/*.h") install_files(/include/winpr FILES ${HEADERS}) + +file(GLOB HEADERS "${CMAKE_CURRENT_BINARY_DIR}/freerdp/*.h") +install_files(/include/freerdp FILES ${HEADERS})