From dc1738ada7b22884afd38df57fccfd3331151563 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Sat, 19 Apr 2014 10:25:07 -0500 Subject: [PATCH] CMAKE - generate pocomsg.h in src Merge https://github.com/guruofquality/poco/commit/922ca412848bc8b5fd05cd6903779eac4e7463a7 fix pocomsg.h generation so the target stops rebuilding The output directory specified by -h should match the RES_SRCS directory. Changed the RES_SRCS to specify the srcs directory. --- Foundation/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt index 672db75c4..d858c0c38 100644 --- a/Foundation/CMakeLists.txt +++ b/Foundation/CMakeLists.txt @@ -206,7 +206,7 @@ set(WIN_SRCS ) if (WIN32) - set(RES_SRCS ${CMAKE_SOURCE_DIR}/Foundation/include/Poco/pocomsg.h) + set(RES_SRCS ${CMAKE_SOURCE_DIR}/Foundation/src/pocomsg.h) set_source_files_properties(${RES_SRCS} PROPERTIES GENERATED true) add_custom_command( OUTPUT ${RES_SRCS}