From 922ca412848bc8b5fd05cd6903779eac4e7463a7 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 20 Oct 2013 13:06:33 -0700 Subject: [PATCH] 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 0f6b3f69a..05589ffa3 100644 --- a/Foundation/CMakeLists.txt +++ b/Foundation/CMakeLists.txt @@ -204,7 +204,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}