Browse Source

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.
Josh Blum 12 years ago
parent
commit
922ca41284
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Foundation/CMakeLists.txt

+ 1 - 1
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}