mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-24 22:29:47 +01:00
CMAKE - generate pocomsg.h in src
Merge 922ca41284
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.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user